I Want to make a custom field required

Ranjan Guha February 5, 2020

I Want to make a custom field required only while changing to resolved status and not for Pending/In progress status.

 

Can you give me the steps.When I am changing it to required its getting mandatory even for pending status

5 answers

0 votes
Denise_Wuethrich_beecom_products April 6, 2020

Hi, Ranjan.

You can do this if you have JSU which does not require any kind of coding or scripting. 

Check out the documentation here: https://confluence-apps.beecom.ch/display/JSU/Custom+Fields

 

Install JSU from the marketplace: https://marketplace.atlassian.com/apps/5048/jsu-automation-suite-for-jira-workflows?hosting=cloud&tab=overview

 

Hope this helps!

0 votes
Simon H
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.
February 6, 2020

If it is just one field that you want to make required then JMWE is a good solution; however, if you need to collect a range of information then ProForma forms could help you, as you can use: 

Field level validation

Within a form you can set various validation options for fields, such as word/character length, regex patterns, or required choices. 

Workflow Validation & Automation

You can also add a validator to the workflow so that the user cannot transition to the Resolved status if the relevant form is not attached and/or submitted.  The submitted requirement ensures that the user has provided a valid response to all the required fields in the form. 

You can also build an automation rule that automatically transitions the issue to Resolved once the form is submitted. 

Full disclosure: I am the PM for ProForma.

0 votes
Chozo February 5, 2020

Hi Ranjan,
welcome to the community.
 
1) Go to workflows in administration settings.
2) There you have to choose the workflow where you want to do a changes and click " Edit ".
3) Click on transition you like to do required and choose " Validators " on the right side.
4) Click " Add validator " and choose yours one you like, in my opinion " Fields Required Validator (JMWE add-on)
--------
Notice:
you need to install plugin from this site: 
https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=overview&_ga=2.50688811.345299424.1580721574-648346939.1578057268
--------
There are some other ways I think (hope), but this is the easiest.

Best luck in fields of Jira!

0 votes
Pete Singleton
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.
February 5, 2020

There are a few plugins which add workflow validators to do this.  You could try Jira Misc Workflow Extensions:

https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=overview

If you use this app, you then edit your workflow and add a validator to the transition you require, called "Field is required".  

0 votes
Rajesh Ramankutty February 5, 2020

you can add validation

Suggest an answer

Log in or Sign up to answer