Hi everyone,
I’m working on a Jira automation rule that updates a custom multi-user field called Assessors
. The field is based on selected values from another field called Affected Services/ Applications
.
Here’s what I’m trying to achieve:
If certain services are selected, I want to add a specific user to the Assessors
list.
I want to append the user to the existing list — not overwrite it.
This is what I currently have. However, instead of saving what the first branching has done, it replaces the actions done in the first branch. I want it to carry the actions of the first branch to the second, and the third etc..
Any help is appreciated!! :) Thank You
Hello @Gloria Jazdan
Welcome to the Community!
As when you need to update the field then you can use 'Additional Field' option
Replace customfield ID with your field id, and respective field or user account ID
{ "update": { "customfield_12346": [{ "add": {"id":"{{reporter.accountId}}"} }] } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Piyush Annadate _ACE Pune_ & @arielei
It actually worked by adding this "Re-fetch work item data" as an action between each branch :)
Thank you for your input
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This would be a good pop-up to remind us when setting up an automation we may need to re-fetch the work item as it needs time to populate the db after the form is created. This one puzzled me for a time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Gloria Jazdan
Prior to editing the multi field with the values, create a VAR and set the value of it to the current value in the field.
Then, when you edit the field, add the new and current users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.