In the previous section, we related the properties of the cases in ASMS to the properties of Jira and assigned a Mapping type (how we will get the values):
Property in ASMS | Jira Cloud Ownership | Mapping Type |
---|---|---|
subject | Summary | FieldValue |
Description | Description | FieldValue |
state | state * | - |
responsible | assignee | Mapper |
typeRegister | customfield_10123 | Mapper |
responsibleGroup | customfield_10119 | FieldValue |
client | customfield_10120 | Mapper |
Company | customfield_10121 | Mapper |
applicant | customfield_10122 | FieldValue |
Ci | customfield_10124 | FieldValue |
For the “Mapper and Value” Value Association types, you need to create an association and/or value relationship as follows:
Property in ASMS | Jira Cloud Ownership | Mapping Type |
---|---|---|
responsible | assignee | Mapper |
typeRegister | customfield_10123 | Mapper |
client | customfield_10120 | Mapper |
Company | customfield_10121 | Mapper |
Relationship and/or partnership for ownership “responsible”
1. Search Jira Cloud for property values “assignee”, Jira Cloud users.
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 Jira Cloud with the ID of the property responsible ASMS script, as shown below:
Jira Cloud field | Campo responsable at ASMS | ID responsible ASMS | VALUE field Jira Cloud | |
---|---|---|---|---|
Assignee | responsible | 314 | 71202027ac3f86 | |
Assignee | responsible | 315 | 71256427bc3B45 |
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": "71202027ac3f86"
},
{
"reference": "project 1",
"Id": 315,
"Value": "71256427bc3B45"
}
]
}
Relationship and/or partnership for ownership “typeRegister”
1. Search Jira Cloud for property values “customfield_10123”, Jira Cloud 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 customfield_10123 of Jira Cloud with the ID of the property typeRegister ASMS script, as shown below:
4. Match the values of customfield_10123 of Jira Cloud with the ID of the property Record Type ASMS script, as shown below:
Jira Cloud field | ASMS Record Type | ID ASMS Record Type | VALUE field Jira Cloud |
---|---|---|---|
Chat | chat | 45 | chat |
46 | |||
Phone | phone | 47 | phone |
Self-service | Self-service | 48 | Self-service |
Virtual Agent | virtual_agent | 49 | virtual_agent |
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 “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 Jira Cloud for property values “customfield_10120”, Jira Cloud 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 customfield_10120 of Jira Cloud with the ID of the property client ASMS script, as shown below:
4. Match the values of customfield_10120 of Jira Cloud with the ID of the property client ASMS script, as shown below:
Jira Cloud field | Client ASMS | Id Client ASMS | VALUE Jira Cloud Field |
Customer 3 | Client 3 | 3 | Customer 3 |
Customer 4 | Client 4 | 12 | Customer 4 |
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 “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 Jira Cloud for property values “customfield_10121”, Jira Cloud 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 customfield_10121 of Jira Cloud with the ID of the property Company ASMS script, as shown below:
4. Match the values of customfield_10121 of Jira Cloud with the ID of the property Company ASMS script, as shown below:
Jira Cloud field | Company ASMS | Id Company ASMS | VALUE Jira Cloud Field |
---|---|---|---|
DT Company | DT Company | 2 | DT Company |
Company 2 | 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": "71202027ac3f86"
},
{
"reference": "project 1",
"Id": 315,
"Value": "71256427bc3B45"
}
],
"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"
}
]
}
Continue: Register the “model” property (step 4) ↪