how to check validation on structured issue for workflow transition

Hi ALM works support

we are trying structure plugin, we want to validate if issues are in structure for workflow transition, if the issues are not in given a structure, user should a msg to add that issue to structure.

for e.g, we have release issue type, when we change status for release, i want to check if bugs and WRs are associated with release, how to check and validate this condition in structures.

Thanks for support and help


2 answers

1 accepted

Hello Raj,

To do that you will need to use some plugin, which allows using JQL queries for transition conditions. We have a sample plugin, which does that and we'll try to make it available on Marketplace some time soon.

For now you can use some other plugin - for example Script Runner, which lets you use "Allows the transition if this query matches a JQL query" script as a workflow condition:

It's probably a bit of overkill, though, as it is designed for more complex things.

After it is installed, you’ll be able to create a JQL query using the structure() function, which comes with the Structure plugin and which extends standard JIRA JQL:

Using this function you can specify various Structure-related conditions.

I'll add another comment here once we release the plugin for adding JQL for transition conditions.

Hope this helps.


Update: Here's the Structure Workflow Validator that lets you use an S-JQL query in your JIRA workflow transition validator.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

169 views 0 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you