Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • An issue should not start unless the issue on which it is dependent is completed.. How to set?

An issue should not start unless the issue on which it is dependent is completed.. How to set?

Amit Kadam
November 16, 2018

I am trying to link dependencies in issues... My requirement is that an issue should not start unless the issue on which it is dependant is completed... I linked the issues but it only shows that it is dependent on some other issue... I am able to resolve the issue without the other issue is still in progress.... How can I set this scheme in JIRA? 

2 answers

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 16, 2018

Hello,

You could also use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could write a condition like this:

string[] linkedIssues = linkedIssues(key);
for(string linkedIssue in linkedIssues) {
if(%linkedIssue%.status != "Closed") {
return false;
}
}
return true;

You can find more info on conditions here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows

Amit Kadam
November 16, 2018

Thank you Alexey

0 votes
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 16, 2018
Amit Kadam
November 16, 2018

Hi Sreenivasaraju,

 

Thank you for your response .... But I am not able to get the option of adding comment validatorValidator.JPG

Suggest an answer

Log in or Sign up to answer