Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I have a simple automation than is triggered whenever an issue is updated.
If the assignee is blank it updates the assignee field to make it the user who triggered the event.
For some reason, the rule is being triggered two or three times whenever an issue is updated with the status being returned as Success, No Action Performed, or Some Errors.
Any ideas why?
thanks
Hi @Simon Bramfitt and welcome to the community!
Issue Updated is very generic. If the user is making multiple updates to an issue, it can trigger it to execute multiple times. I would recommend instead triggering on either issue transitioned or Field Value Changed instead.
Welcome to the community.
SOME ERRORS -> User can not be assigned. User who triggered the event doesn't have Assignable User permission in this project.
NO ACTIONS PERFORMED -> If assignee exists in the ticket, automation starts but since assignee is not empty, it doesn't take any action.
*As an alternative to automation, you can use condition or post-function in workflow to ensure assignee is not empty or to assign to current user automatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Tansu Akdeniz
I'm starting to think that this is timing related - the user triggering the script can manually assign the ticket, and the automation reports an error only when the user performs that step.
I'm still very new to JSM, so automation looked to be the easy way out. I'll have to dig deeper if I'm going to follow your suggestion.
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.