Hi,
I am working on JIRA cloud. My requirement is that, whenever a transition is attempted for example from Development to Testing, a validation has to be performed.
The validation that is required is checking if all linked issue of a given type has moved from Development to Testing.
If all linked issues are moved to Testing only then the issue's transition can be allowed.
I found simple examples about jira expressions. But am not able to implement this requirement.
The link I checked is : https://developer.atlassian.com/cloud/jira/platform/jira-expressions/
Your help is very much appreciated here.
Thanks & Regards,
Anusha S S
Hi Anusha
For me the following Jira Expression worked:
issue.links.filter(L=> (L.linkedIssue.project.name == "Testing")&&(L.linkedIssue.issueType.name== "IssueType")).length ==issue.links.filter(L=> L.linkedIssue.issueType.name== "IssueType").length
Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.