Hi all,
I have a specific task to do. I have to create an automation for multiple squads and when each squad chooses the option "approved", the squad name should appear in another field. I did it for one squad and it was working perfectly. See attached picture.
But when I tried to add another team, the first team name in the field was replaced with the second one instead of keeping both names. See attached picture.
More names can be added to the field manually, so this is not a field limitation.
I was experimenting with different custom fields (currently I use the custom field "select list - multiple choices) but without success. Then I tried to experiment with advanced field editing with JSON. But I'm still new in Jira and not that experienced, so I need help. I found something that could work for my case but after many tries didn't work at all.
Also, you can see my automation here
As well as my audit log error
Please advise and if you need more information, I would be very happy to provide. Thank you very much.
BR,
Sinisa
Hi Sinisa,
Not sure why you would need to use #lookupIssues. What if you just did this:
{
"update": {
"customfield_10155": [{
"add": "Navy"
}]
}
Hi John,
I really appreciate your suggestion. I've tried and it didn't work, unfortunately, here is the
audit log error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, looks like I missed one more curly bracket at the very end when I cut and pasted. Ad one more } and a new last line or one beside the very last one and give that a whirl.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Like this maybe? didn't work either
{
"update": {
"customfield_10155": [{
"add": "Navy"
}]
}}
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.
Maybe this will help because I don't know the exact name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John, thank you very much, I just tested it and it works perfectly!!! I really appreciated your help, you made my day!
Cheers,
Sinisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It helped a lot, later I was using the same JSON but for different reasons, and slightly modified. For instance, if some squad later chooses instead of "Approved" something else, such as "Not required" or "To be clarified" then the name of the squad has been removed from the field. So I used this:
{
"update": {
"customfield_10155" : [
{
"remove": {
"value":"Navy"
}
}
]
}
}
(remove instead of add) and also works perfectly!
So once again, thank you very much for this brilliant work.
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.