Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to restrict the transition if the issue is linked to another issue

kanaka prasad ponnuru
Contributor
February 8, 2022

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

1 answer

1 accepted

0 votes
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
February 9, 2022

Hi @kanaka prasad ponnuru 

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

kanaka prasad ponnuru
Contributor
February 9, 2022

Thank you for your response.

Suggest an answer

Log in or Sign up to answer