how to check validation on structured issue for workflow transition

Raju Adluru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2013

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

Raj

2 answers

1 accepted

2 votes
Answer accepted
Eugene Sokhransky _ALM Works_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2013

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: https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner

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:

https://wiki.almworks.com/display/structure/Structured+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.

Eugene

0 votes
Robert Leitch [ALM Works]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 11, 2015

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
TAGS
AUG Leaders

Atlassian Community Events