Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Synchronize different lists types

 
1
0
-1

Hello,
I have a single selection list on Zendesk and I want to synchronize it against a multiple selection list on Jira. On Zendesk my options have this form: data A - data B. On Jira the parent list has data A and the child list data B. Is this sync possible?
Regards,
Pablo

  1. Ariel Aguilar

    Hi Pablo,

    One question, when you say a single selection list on Zendesk, could you confirm if it's a Ticket or User Field. Are you referring to Dropdown select or Multiselect, I was unable to find this "Single Select List" type and also for Jira could you confirm the field type is Select List (multiple choices)? 

    Kind regards,

    Ariel

  2. Pablo Serra

    Hi Ariel,

    on Zendesk it's a User Field, dropdown select. On Jira, the field type is Select List (multiple choices).

    Thanks for your interest!

    Regards,

    Pablo

  3. Daniel Carvajal

    Hi Pablo


    This is an advanced configuration not natively supported on the entities and fields for Zendesk, (https://docs.idalko.com/exalate/x/oAjuAg) therefore it could only be accomplished using the httpClient rest call.

    That being said, we came up with the following setup:


    Zendesk outgoing: 

    if (issue.assignee){
    replica."Dropdown1" = httpClient.get("/api/v2/users/${issue.assignee.key}")?.user?.user_fields?.userfielddropdown
    }

    Notes: "Dropdown1" refers to the property where the value is being sent

    The API call is requested through httpClient.get, you can refer to the Zendesk documentation for more information: (https://developer.zendesk.com/api-reference/ticketing/users/users/#show-user)



    Jira incoming:

    def mapping = [
    "dropdown option 1":"multiselect option a",
    "dropdown option 2":"multiselect option b"
    ]
    
    issue."MultiSelect Test" = [mapping[replica.Dropdown1]]

    The mapping above describes how each option related to the destination side option (dropdown : multiselect), then the value is assigned to the MultiSelect field created for this purpose(MultiSelect Test).

    Cheers,

    Daniel

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    Hi Daniel Carvajal , so I was reviewing my question and your answer and I think I wasn't very clear on the issue, specifically when you asked my if the fields were user fields I thought you meant custom fields! Sorry for the misunderstanding.


    So, to clarify:


    On Zendesk we have a selection list and on Jira we have a cascading list. I need for the first list on the cascade to take the value from Zendesk's list.


    Thanks! And again, sorry.

    1. Pablo Serra

      Hi Daniel Carvajal, any help on this would be much appreciated. Thx.

    2. Daniel Carvajal

      Hi Pablo Serra sorry for the delay, so Im not sure if I understand the question, you need the Jira field to create the Zendesk values if they are not available?

      It might be helpful if you could attach images of the field definitions so we can know exactly what we are dealing with.

      Thanks!

      Daniel

    CommentAdd your comment...