I am trying to create a validator on my issue creation workflow using JMWE app.
I basically don't want the following linkings to pass through
1. Bug with any other link type than 'blocks'
2. Bug + other issue type
3. Any other issue types
What I want to pass the validation
1. Single or multiple bug issue type with linking type 'blocks' only
I have tried all the options available
ie
Require the creation of issue links on the transition screen
Validate issue links added on the transition screen, if any
Require certain linked issues
Check linked issues
Forbid certain linked issues
Check linked issues
Require the creation of issue links on the transition screen
None are working
It either still allows to create what I don't want/ or block everything (in the second example)
anyone faced similar issue or has the solution?
try using a Build-your-own Validator with this script (Jira Expression):
issue.links.every(il => il.type.outward == "blocks" && il.direction == "outward" && il.outwardIssue.issueType.name == "Bug")
Hi @David Fischer
Thanks for this. This works. Do you have any documentations that I can read on this for other similar use cases?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The official JMWE Cloud documentation, and in particular https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/465241623/Using+Jira+Expressions
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.