EN
Español
English
Português
    Register case

    Relationship between ASMS and Jira Cloud

    To perform the integration, it is necessary to relate the fields of the Aranda ASMS ticket with the fields of the Jira Cloud issue through the “case” section of the configuration file.

    JSON Structure

    {
      "case": [
        {
          "reference": "",
          "definition": {
            "subject": {
              "type": "",
              "key": ""
            },
            "description": {
              "type": "",
              "key": ""
            },
            "responsible": {
              "type": "",
              "key": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            },
            "responsibleGroup": {
              "key": "",
              "type": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            },
            "client": {
              "type": "",
              "key": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            },
            "company": {
              "type": "",
              "key": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            },
            "applicant": {
              "type": "",
              "key": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            },
            "typeRegister": {
              "type": "",
              "key": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            },
            "ci": {
              "type": "",
              "key": "",
              "defaultValue": {
                "id": 0,
                "value": ""
              }
            }
          }
        }
      ]
    }
    

    Properties :

    Properties Description
    Reference Unique identifier to create a relationship between the concepts project > category, itemType, typeRegister, applicant, responsibleGroup, responsible, company, client see
    Definition Allows you to relate ASMS case fields to Issue fields in Jira Cloud

    Definition

    To perform the integration it is necessary to relate the case fields in Aranda ASMS with the Jira Cloud Issue through the “definition” section of the configuration file, these properties in ASMS can be associated with fields of type list or string in Jira Cloud, excluding the subject and description property.

    Properties:

    Properties Description  
    subject Represents the field Subject of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud, it is recommended to use the Summary.  
    Description Represents the field Description of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud.  
    typeRegister Represents the field Record Type of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud. Internal properties
    responsibleGroup Represents the field Responsible Group of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud. Internal properties
    responsible Represents the field Responsible of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud. Internal properties
    applicant Represents the field Applicant of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud. Internal properties
    Company Represents the field Company of the case in Aranda, allows you to relate this field to another equivalent field of the Issue in Jira Cloud. Internal properties
    client Represents the field Customer of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud. Internal properties
    Ci Represents the field CI of the case in Aranda and allows you to relate this field to an equivalent field of the Issue in Jira Cloud. Internal properties


    Caso en ASMS: Ilustración de referencia, información del cliente de los casos en la plataforma ASMS


    Caso en ASMS parte 2: Ilustración de referencia, información básica de los casos en la plataforma ASMS


    Issue Jira Cloud: Ilustración de referencia, información básica de los tickets en la plataforma Jira Cloud


    Propiedades internas

    {
      "key": "",
      "type": "",
      "defaultValue": {
        "id": 0,
        "value": ""
      }
    }
    


    Donde:

    Properties Description  
    type Association type, the supported types are Value, Mapper, FieldValue. FieldValue, Value, Mapper.
    Key Name or ID of the field in Jira Cloud where the information will be searched and updated. Properties in Jira Cloud
    defaultValue Allows you to add a default value. see


    Propiedad “defaultValue”

    1. The property defaultValue allows you to add default values, if you add this property with the value of defaultValue.id for the case in Aranda or defaultValue.value for the Issue in Jira Cloud, the system adds the default value to the platform that set the value.
    2. For the “subject, description” fields, you can’t add a default value because they are user-written values and a value relationship isn’t supported.
    3. You can only add a default value if the mapping type is “Mapper” or “FieldValue”.

    Example:

    1. Set the value “incident” to the Reference.
    2. In the definition of the case Take Responsible Property (responsible).
    3. “type”: Assign the association type as FieldValue.
    4. “key”: Assign the name of the property in Jira Cloud as assigned_to (Properties in Jira Cloud).
    5. “defaultValue”: Assign the defaultValue.
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
            "responsible": {
              "key": "assigned_to",
              "type": "FieldValue",
              "defaultValue": {
                "id": 222,
                "value": "id_usuario_jira_cloud"
              }
            }
          }
        }
      ]
    }
    


    Tipos de relación o asociación de campos
    Los siguientes tipos de asociación determinan como se obtendrán los valores de las propiedades del ticket.

    Name Description Example
    Value Allows you to assign a value to the selected field through the configuration file. The value is required to be within the value ratio properties See example
    Mapper Seeks to associate and/or relate the values of the Aranda case with the values of the Jira Cloud Issue field indicated in the key property in Jira Cloud, the value ratio is made 1 to 1, the assignment is not allowed to be repeated See example
    FieldValue Property values are sent directly between platforms without any association/relationship See example


    Ejemplo tipo Value

    1. Set the value “incident” to the Reference.
    2. In the definition of the case Take the property Applicant (applicant) and assign the association type as Value.
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
            "applicant": {
              "type": "Value"
            }
          }
        }
      ]
    }
    
    1. The relationship implies that a value must be assigned in a common way for all the Cases, this is accomplished by using the “applicant” property, as shown below:
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
            "applicant": {
              "type": "Value"
            }
          }
        }
      ],
      "applicant": [
        {
          "reference": "",
          "id": 10
        }
      ]
    }
    
    1. Assign a value to the property “applicant.reference”:
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
            "applicant": {
              "type": "Value"
            }
          }
        }
      ],
      "applicant": [
        {
          "reference": "incident",
          "id": 10
        }
      ]
    }
    


    Note: The Cases associated with the “reference” “incident”, in ASMS they will be assigned the requester with ID 10.



    Type example Mapper

    1. Set the value “incident” to the Reference.
    2. In the definition of the case Take the property Applicant (applicant).
    3. “type”: Assign the association type as Mapper.
    4. “key”: Assign the name of the property in Jira Cloud as applicant_id_jira_cloud (Properties in Jira Cloud).
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
    
            "applicant": {
              "type": "Mapper",
              "key": "applicant_id_jira_cloud"
            }
          }
        }
      ]
    }
    
    1. The relationship implies that you must associate the Aranda Desk Requesters (ASMS) with the Jira Cloud Requesters, it is recommended to write the Id of the applicant to be related, as shown below:
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
    
            "applicant": {
              "type": "Mapper"
            }
          }
        }
      ],
      "applicant": [
        {
          "reference": "incident",
          "mapping": [
            {
              "id": 5,
              "value": "id_solicitante_jira"
            }
          ]
        }
      ]
    }
    


    Note: Requester with Aranda table ID “5” (ASMS) is related to requester “id_solicitante_jira” in Jira Cloud***



    Type example FieldValue

    1. Set the value “incident” to the table.
    2. In the definition of the case Take the property Applicant (applicant).
    3. “type”: Assign the association type as FieldValue.
    4. “key”: Assign the name of the property in Jira Cloud as applicant_id_jira_cloud (Properties in Jira Cloud).
    {
      "case": [
        {
          "reference": "incident",
          "definition": {
            "applicant": {
              "type": "FieldValue",
              "key": "applicant_id_jira_cloud"
            }
          }
        }
      ]
    }
    


    ↩ Back to Settings