EN
Español
English
Português
    Register mappings

    In the previous section, we related the properties of the cases in ASMS to the properties of DevOps and assigned a Mapping type (how we will get the values):

    Property in ASMS DevOps Property Mapping Type
    subject System.Title FieldValue
    Description System.Description FieldValue
    state System.State * -
    responsible System.AssignedTo Mapper
    typeRegister Custom.recordtype Mapper
    responsibleGroup Custom.usergroup FieldValue
    client Custom.client Mapper
    Company Custom.company Mapper
    applicant Custom.applicant FieldValue
    Ci Custom.CI FieldValue

    For the “Mapper and Value” Value Association types, you need to create an association and/or value relationship as follows:

    Property in ASMS DevOps Property Mapping Type
    responsible System.AssignedTo Mapper
    typeRegister Custom.recordtype Mapper
    client Custom.client Mapper
    Company Custom.company Mapper


    Relationship and/or partnership for ownership “responsible”

    1. Search DevOps for values for property “assignee”, are the users with access to each project.

    2. With the help of a Aranda Service Management (ASMS) Get the IDs of the values for the property “responsible”.

    3. Match the values of assignee of DevOps with the ID of the property responsible ASMS script, as shown below:

      DevOps field Campo responsable at ASMS ID responsible ASMS VALUE DevOps field
      Assignee responsible 314 user1@aranda.com
      Assignee responsible 315 user2@aranda.com

    4. Type the values in the “responsible” In the configuration file:

    5. On the property “reference” in the configuration file type the “key” that I register in The previous section:

    {
      "responsible": [
        {
          "reference": "project 1",
          "Id": 314,
          "Value": "user1@aranda.com"
        },
        {
          "reference": "project 1",
          "Id": 315,
          "Value": "user2@aranda.com"
        }
      ]
    }
    


    Relationship and/or partnership for ownership “typeRegister”

    1. Search DevOps for property values “Custom.recordtype”, DevOps Properties.

    2. With the help of a Aranda Service Management (ASMS) Get the IDs of the values for the property “typeRegister”.

    3. Match the values of Custom.recordtype of DevOps with the ID of the property typeRegister ASMS script, as shown below:

    ASMS Record Type ID ASMS Record Type VALUE DevOps field
    chat 45 chat
    email 46 email
    phone 47 phone
    Self-service 48 Self-service
    virtual_agent 49 virtual_agent

    4. On the property “reference” in the configuration file type the “key” that I register in The previous section:

    5. Type the values in the “typeRegister” In the configuration file:

    {
        "typeRegister": [
            {
                "value": "chat",
                "reference": "project 1",
                "id": 45
            },
            {
                "value": "email",
                "reference": "project 1",
                "id": 46
            },
            {
                "value": "phone",
                "reference": "project 1",
                "id": 47
            },
            {
                "value": "self-service",
                "reference": "project 1",
                "id": 48
            },
            {
                "value": "virtual_agent",
                "reference": "project 1",
                "id": 49
            }
        ]
    }
    


    Relationship and/or partnership for ownership “client”

    1. Search DevOps for property values “Custom.client”, DevOps Properties.

    2. With the help of a Aranda Service Management (ASMS) Get the IDs of the values for the property “client”.

    3. Match the values of Custom.client of DevOps with the ID of the property client ASMS script, as shown below:

    Client ASMS Id Client ASMS VALUE DevOps field
    Client 3 3 Customer 3
    Client 4 12 Customer 4

    4. On the property “reference” in the configuration file type the “key” that I register in The previous section:

    5. Type the values in the “client” from the configuration file:

    {
       "client": [
    	 {
    		"reference": "project 1",
    		"Id": 3,
    	 	"Value": "cliente 3"
    	 },
    	 {
    	 	"reference": "project 1",
    	 	"Id": 12,
    		"Value": "cliente 4"
    	 }
        ]
    }
    


    Relationship and/or partnership for ownership “company”

    1. Search DevOps for property values “Custom.company”, DevOps Properties.

    2. With the help of a Aranda Service Management (ASMS) Get the IDs of the values for the property “company”.

    3. Match the values of Custom.company of DevOps with the ID of the property Company ASMS script, as shown below:

    Company ASMS Id Company ASMS VALUE DevOps field
    DT Company 2 DT Company
    Company 2 4 Company 2

    5. On the property “reference” in the configuration file type the “key” that I register in The previous section:

    6. Type the values in the “company” from the configuration file:

    {
      "company": [
        {
    	    "reference": "project 1",
    	    "Id": 2,
    	    "Value": "compañía dt"
    	 },
    	 {
    	 	"reference": "project 1",
    	    "Id": 4,
        	"Value": "company 2"
    	 }
      ]
    }
    


    Integrating the Value List into the Configuration File

    1. One of the properties created above, this part of the json goes at the root of the configuration json:

    {
        "responsible": [
            {
    	        "reference": "project 1",
    	        "Id": 314,
    	        "Value": "user1@aranda.com"
            },
            {
    	        "reference": "project 1",
    	        "Id": 315,
    	        "Value": "user2@aranda.com"
            }
    	],
    	"typeRegister": [
            {
                "value": "chat",
                "reference": "project 1",
                "id": 45
            },
            {
                "value": "email",
                "reference": "project 1",
                "id": 46
            },
            {
                "value": "phone",
                "reference": "project 1",
                "id": 47
            },
            {
                "value": "self-service",
                "reference": "project 1",
                "id": 48
            },
            {
                "value": "virtual_agent",
                "reference": "project 1",
                "id": 49
            }
    	],
    	"client": [
            {
                "reference": "project 1",
                "Id": 3,
                "Value": "cliente 3"
            },
            {
                "reference": "project 1",
                "Id": 12,
                "Value": "cliente 4"
            }
    	],
    	"company": [
            {
    	        "reference": "project 1",
    	        "Id": 2,
    	        "Value": "compañía dt"
    	     },
    	     {
    	 	    "reference": "project 1",
    	        "Id": 4,
        	    "Value": "company 2"
    	     }
    	]
    }
    



    ↩ Return