Hi community,
I have an automation that transitions the issue in a specific status when a box is checked in a submitted form.
The problem is this status transition has some validators that can hinder the issue from transitioning. So when the user checks the box the automations tries the transition but when some validation fails the issue will stay in place without the user knowing what happened.
Right now I have a check at the end for the end status which should be the target status. If it's not a generic comment is created that informs the user about some possible causes why it failed to transition.
So my question would be:
Is there a way to somehow log the error message in a variable so I can insert that into that comment?
I can see the error message in the audit log but how can I use it?
Thanks!
Not sure it there's a path to log that info in comment. There's an article to setup smart values for debugging automation rules. Possibly you can use it to place in a comment or follow the article for another approach for troubleshooting.
https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.