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 Leaders.
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

1 accepted

5 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 Leaders.
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

0 votes
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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events