Forums

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

Is it possible to make the "Labels" field mandatory to close a ticket in a specific project

Charlie Banks March 17, 2023

Is it possible to make the "Labels" field mandatory to close a ticket in a specific project?

I've been researching and only coming up with mandatory fields when creating a ticket.

I'm new to Jira but understand that I dont want to make the field mandatory for all projects and cause issues.

want to be able to make the labels field mandatory when it's time to close a ticket in a specific project for one of a teams.

we are using:

 

 

 

1 answer

2 votes
Darryl Lee
Community Champion
March 17, 2023

On Jira Server you'll need a plugin that provides a "Field Required Validator", which you would apply to the transition used for closing the ticket.

Here's an answer from @Rachel Wright on how to do this with ScriptRunner:

Other add-ons that provide a similar validator would be Jira Suite Utilities or Jira Miscellaneous Workflow Extensions.

Unfortunately if you are on Jira Server, you can't buy licenses for those add-ons anymore unless/until you upgrade to Data Center.

Joe Pitt
Community Champion
March 18, 2023

In addition to what @Darryl Lee said, if the label field already has a value the validator will not prompt you to add an additional one 

Darryl Lee
Community Champion
March 19, 2023

Good point @Joe Pitt

Yeah, @Charlie Banks if you want to make sure the Label has *changed* before moving to the next step, you'll also need a "Field(s) Changed Validator", like from Scriptrunner. JMWE also provides a "Field has been modified validator", and I suspect JSU also has one.

Also, I should have linked to this documentation from Atlassian:

Suggest an answer

Log in or Sign up to answer