You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm working on managing group membership based on some specific criteria of objects in Assets and at the end of the automation, I want to update the list of groups the object is a members of.
I've got a "Group" attribute on my object with no maximum value and in my automation I've got it looking up a group of objects, sending an API request to update group membership, and then editing the object at the end with the new group membership.
Most of that works, but I keep getting the error "No issues were found, stopping the rule"
I've tried every option I can think of for the name of the group (group ID, putting it in a smart value, just the string), but I get the same result.
If I manually add the group to a user and then log the contents of the field, it's just the group name as a string.
Any help would be appreciated!
In case someone finds this looking for an answer, I couldn't figure out how to do it with just Jira Automation actions. Also, based on the way the API works, I think it would overwrite any existing values anyway, instead of appending them.
I ended up replacing the "Edit Object" action with a couple If's to check if the field is already empty or not, and then a web request to edit the attribute via the API.
Screenshots of both below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.