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
Next: Root
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.
My project is setup as a company-managed project, which I am making a custom workflow.
Right now when I transition a task to done (note, this transition is set to be allowed from any status), I have a couple of validators that are checked. Which will stop the user from making the transition, if specific data is missing.
This task is linked to an epic, in which I have an automation rule watching a field, so that when the field is changed to a specific value, it will trigger an automation rule to close the task to done.
It works when all the validators are met. However, the problem is that, if the validators are not met, the automation cannot close out the task. It will just error out and Jira automation would just send me an error stating error transitioning issues.
I was wondering if there was a way to go around this so that the validators are not checked when automation moves a ticket because when the automation rule kicks in, the task should be transation to done regardless of the validators' state.
What am I missing here? Is this possible? Thank you for the help!
Hello @Dominic Mercorelli
Validators must be met for a transition to be successful. The only time this is not the case is when the transition is activated by a Trigger from a Development integration.
If you want to be able to circumvent that, you need to set up another Transition path that does not include the Validators. You can restrict access to that Transition using a Condition so that only the user specified as the Actor for the Rule can execute the transition. There is not a default Workflow Conditions to restrict a transition to a specific user, so you would need to get creative in using the restrictions that are available, and consider the Actor you assign to the Rule.
You can't do this directly, you have to set up complex validators that will understand that it is the automation bypassing validation. So something like "if user trying to do this = automation-user, then let it pass, otherwise do the rest of the validation"
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.