The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation – Unable to Update Multi-Value Fields via JSON

Felipe Justino
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 22, 2025

Ao atualizar um campo de seleção múltipla ou um campo vinculado a ativos via JSON no Jira Automation, apenas o primeiro valor da matriz é aplicado. Exemplo:

 {
  "fields": {
    "customfield_XXXX": [
      { "value": "A" },
      { "value": "B" }
    ]
  }
}

Essa é uma limitação conhecida da API interna do Automation? Alguém encontrou uma solução alternativa para atualizar vários valores de forma confiável em uma única ação de automação?

2 answers

2 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

8 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 22, 2025

Hi @Felipe Justino 

When updating a multiple-selection option field (rather than setting it), please use the "update" attribute with the "add" or "remove" operations rather than the "fields" attribute.  Please look here to see examples:

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-select-custom-field

 

Kind regards,
Bill

3 votes
Answer accepted
Joseph Chung Yin
Community Champion
November 22, 2025

@Felipe Justino 

It is so great having someone like @Bill Sheboy provides the correct solutions at a constant basis.  It also re-enforces all other community champions/users on the solution dealing with automation configuration context.

Best, Joseph

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events