You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi there,
I'm a newbie with JMWE Jira Expressions and i'm trying to build a Workflow Condition which is as follows:
If issues exist which have the current issue key in a customfield, and summary contains 'TT', then allow the transition.
I've trounced the documentation and can't see to find what I'm looking for in terms of a JQL query. Any ideas?
Hi @Ahmad Sidawi ,
you can't use JQL queries in Cloud conditions and validators. That's a limitation of Jira Cloud.
However, if I understand correctly, you want to allow the transition only if:
Is that correct? If so, this is the Jira expression you're looking for:
issue.customfield_10500 != null && new Issue(issue.customfield_10500).summary.match(".*TT.*")
Pretty close. Customfield_10500 is a Parent Link field with a key.
Several issues might have the same Parent Link.
I'm currently looking at the Parent, and I want to check if any issues with that Parent Key contain TT.
So if the Parent has a key of GT-1010, i want to check any other issues which have GT-1010 in customfield_10500, and if any of those issues contain 'TT'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, this is simply impossible on Jira Cloud. You want to look at "child" issues according to the "Advanced Roadmap" hierarchy, and that hierarchy is not available from Jira expressions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahhh OK. Thank you David. We are instead now looking at using a Boolean or Yes/No dropdown field to demonstrate this within the parent issue rather than looking at the child issues.
I'll give that a go (should be much easier :) ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.