I have two issues where I have not been able to figure out how to configure the workflow validator to work with the JIRA workflow toolbox functionally.
1) The issue links field is set to required but it does not enforce any issue keys having to be entered. Even with the issue links field set to required JIRA still allows for an issue to be created even if no keys are entered.
2) Before allowing an issue to be close verify any linked issues for a particular project are closed. We have three projects that we're using and want to make sure any linked issues are closed before allowing the current issue to be closed.
In case you needed to enforce any linked issue from a specific project to be closed before current issue is closed, leaving linked issues from other projects unaffected by the restriction, you should use the following configuration:
Question 1: I suppose you are using "Validation on linked issues". In that validator you have a field called "Minimum required number of issue links" with 0 as default value. If you want to enforce at least one issue link you need to set it to 1.
Question 2: If you enforce every linked issue to be closed before an issue is closed you are producing a deadlock, since no issue can be closed because it requires every other linked issue to be closed, and the same happens for linked issues.
Your can avoid this situation restricting that enforcement to a set of issue link types (e.g., "is blocked by" and "depends on").
I show in screenshots how you can do it. You have to enter in transition "Close Issue" a Validation on linked issues using the following configuration:
Thank you for the response.
Question 1: I added the 'Validation on linked issues" to the create issue step and now the user is required to include at least one issue link.
Question 2: I'll have to review the requirement to be sure when the validator is added I do not produce a deadlock. The plan is to explicitly control which type of link is required and only issues from a particular project will be seleted.
Hi @Dan, almost a year ago someone asked the same thing so I think you can find your solution here:
Hope this helps!
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs