Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I have an automation procedure that when a component is added or changed, I need to update a user field with the component lead.
If there was a way to ask about the component leas - that would probably have solved my problem (I couldn't find a field associated with that).
So, I'm updating a multi user field with the component lead (automation triggered by a change in the component field). I couldn't find a way to update that multi-user field but only setting it.
I could see that I have the option of updating it and not erasing the current value ONLY if I use COPY and not SET.
Is there a way to overcome that? Maybe through the JSON part using smart values (which I have no experience with).
Thanks
I am sorry that the answer you got before was misleading - it was generated by an AI that has no understanding of your question or Atlassian software.
For adding users to a multi-select field, see https://community.atlassian.com/t5/Jira-Software-questions/How-to-append-a-user-to-a-multi-select-user-field-in-Jira/qaq-p/1995845
At the moment though, there is no smart value for component lead, so you can't use it in an Automation. If you have one of the scripting apps, you might be able to do it on one of them.
Adding to Nic's answer...
To get the Lead for a Component within an Automation rule you would need to use the Send Web Request action to call the Jira REST API to retrieve the component information, and parse the response to get the Lead from it.
Here is an article on using the Send Web Request action:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I assume you mean my answer? As I seem to be unable to view it. I guess referring to other questions that contain some helpful answers to this one is not the right thing to do here and for that I apologise to @Dd.
I'm neither a bot or an AI though, but an actual person.
Just hoping to clarify that's all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Three different AI detectors flagged your post as AI written, it was not about the links you gave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.