Hi there i need to creat validation fop A ticket status transition in case we have linked B ticket with X status,and have a message about the reason , SO i have wandered is it possible to just validate the status transition via automation, i have found a lot of ways to bring back the status and adding comment about the reason, but i need to not allow to make the transition happen.
Hello @Anush Chatikyan
No, it is not possible to prevent a status change using an Automation Rule. An Automation Rule is triggered by a completed event. The rule can't be triggered until the transition is completed.
You could use an Automation Rule to check if a given issue has linked B tickets that are in Status X, and update a custom field in the A ticket that indicate that is the case. The Validation in the rule could then check that custom field. You would need to have an Automation rule that would also clear that custom field when it is appropriate to do so.
Alternately you may find a third party app that extends the validation capabilities in Workflows, enabling you to put a check of linked issue statuses directly into the Workflow transition.
Are you willing to consider getting a third party app for this?
If you are open to using apps and looking for a ready-to-use solution. We've developed the Linked Issues Validator available as part of the Workflow Building Blocks for Jira free app. With a wizard-like UI, you can select options that represent your case and get it done very quickly.
I would also consider using status category instead of statuses.
I hope it will help.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Maciej Dudziak _Forgappify_ thanks for helping, but i have question , as i need to put the validation FIR Issue A if the Issue B status is in waiting for information status, what in that case how i need to configure it. as the app you have provided is already fixed configurated and i am not able to make my personal validations
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What would be the relationship between issue A and B in your case? I'm not sure if I understand correctly. Do you want to validate against a specific issue key?
Beside the Linked Issues Validator, Workflow Building Blocks for Jira comes also with Jira Expression Validator, where you can build your custom expressions using Jira Expression language.
If you can elaborate more about details of the case you want to solve I will try to help you build the expression you need.
Cheers
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.