1
0
-1
  1. Kazim Yildirim

    Hi,

    I took your code and changed the ID.

    In the beginning the value is set to true and then it is removing again (wink)

    Really strange (smile)

    Do you have an idea?

  2. Kazim Yildirim

    In the Zendesk Events you can see two actions, and I do not know why...
    First it is setting on yes and then in a second step to no


  3. Syed Majid Hassan

    Kazim Yildirim can you please share the exact code that you have in the incoming


CommentAdd your comment...

1 answer

  1.  
    2
    1
    0

    Hi,

    The following works for me:

    def res = httpClient.put("/api/v2/tickets/${issue.key}.json", """
    {
    "ticket": {
    "custom_fields": [
    {
    "id": 13952392909585,
    "value": true
    }
    ]
    }
    }
    """
    )


    Here you need to replace the id with the correct field ID that you are trying to work on. 

    Also, the value is right now set as true. Here you can use the mapping you created to reference it and set the correct value (from the replica).


    Thanks

    Majid


      CommentAdd your comment...