Forums

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

Groovy Script for making a feild 'mandatory' when transition changes to 'DONE' in JIRA workflow.

Karthik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2020

Hi Guys,

 

We have a requirement where we need to make a field mandatory( requires to be filled in with value by user) whenever the Transition goes to DONE state in Jira workflow.

We checked on the Validators option . We are using JIRA 8.5 Version(not cloud).

We do not have the external plugins 'JIRA Suite Utilities' OR 'Jira Misc Workflow Extension(JMWE)' ..Both these plugins are not installed / bought in our Jira.

Hence we are going with the option of writing a custom script for this requiremnt.

Hence we clicked on the transition to DONE state in the workflow and added Validator --> Custom Script Validator .

Could you please provide us any groovy script available for this requirement......?

say) our mandatory(to be) feild is 'Description" and this field should become mandatory when issue is transitioned 'Done' state.

 

Looking for any scripts that you might have used for above requirement.....

Thanks.

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events