You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
How do I add value to a multiselect property using Automation for JIRA.
Setting an initial value using JSON is easy and works:
{"fields": {"Revenue Groups": [{ "value" : "Rev. Group 1"}]}
Adding an extra is a lot harder. I've tried the following (and other solutions) but without success.
{ "fields": {"Revenue Groups": [{ "value" : "Rev. Group 2"}, {{issue.customfield_13100.asJsonObjectArray("value ")}}]
}
}
Hello Andre,
I was able to get mine work by adding the following to the Advanced Edit section of the automation. In my case, I had a multi select (customfield_10037) with values, 1,2,3,4,5,6.
{
"update": {
"customfield_10037" : [
{
"add": {
"value":"2"
}
}
]
}
}
Hi Kian,
Thanks a lot. Works like breeze......
I've an additional question. Where can I find documentation on the operations 'add', 'remove' and 'set'. I'm wondering if there are more options. Starting from the following URL (https://confluence.atlassian.com/automation/advanced-field-editing-993924663.html) I can find a lot info but nothing related to operations as mentioned.
Cheers,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.