Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does JIRA workflow support field mandatory when close with specific resolution

jacob April 27, 2021

Hi Expert,

would like to check if the below scenario can be supported in JIRA workflow

"Sprint" field become mandatory ONLY in "Close" transition AND Resolution != Withdraw

 

If Yes, it will be appreciated if there is guide. thanks a lot

3 answers

2 accepted

0 votes
Answer accepted
Fabio Racobaldo _Catworkx_
Community Champion
April 28, 2021

Hi @jacob ,

you need ScriptRunner plugin for Jira (https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview ) to achieve this requirement. In particular, you need to put in place a specific behaviour that, based on your condition, make that field required on that transition.

Here a complete guide https://scriptrunner.adaptavist.com/4.3.9/jira/behaviours-overview.html

Hope this helps,

Fabio

jacob April 28, 2021

Thanks Fabio. we will try with ScriptRunner.

0 votes
Answer accepted
Tinker Fadoua
Community Champion
April 27, 2021

@jacob 

Yes this can be added as a condition to the workflow but you will need a plugin.

This can not be achieved with Jira out of the box.

Not advertising for any Atlassian Vendor but this kind of request can be achieved with ScriptRunner.

You are more than welcome to check the Marketplace for a plugin that fits your needs.

If you have any questions, don't hesitate to ask.

Best,

Fadoua

jacob April 28, 2021

Thanks Fadoua. we will try with ScriptRunner.

Like Tinker Fadoua likes this
0 votes
Thorsten Letschert _Decadis AG_
Community Champion
April 28, 2021

Hi @jacob ,

As already mentioned this is not possible out of the box.

If you're looking for a solution beyond scripting, make sure to check out the workflow apps available on the Atlassian  Marketplace: https://marketplace.atlassian.com/search?category=Workflow&product=jira

Cheers
Thorsten.

Suggest an answer

Log in or Sign up to answer