Hi Team,
Is there any way to restrict the transition during the workflow if the issue is linked to another issue?
If the jira issue is linked to another issue then to that particular issue we need to get the error while moving the issue in workflow.
Can someone quickly respond that how to achieve this?
Regards,
Kanaka
There is no built-in way to accomplish this. You can use workflow condition or validator provided by 3rd apps like JMWE (Linked Issues Condition/Validator) or write your own custom script using app like Scriptrunner for Jira.
Just to differentiate between condition and validator:
Conditions control whether a transition should be executed by the user. If a condition fails, the user will not see the transition button and so will not be able to execute the transition.
Validators check that any input made to the transition (including that gathered from the user on the transition's screen) is valid before the transition is performed. If a validator fails, the issue does not progress to the destination status of the transition, and the transition's post functions are not executed.
You can read more about it here: https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/#Advancedworkflowconfiguration-conditions
Best,
Piotr
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.