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.
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.