How can I make a field required only on one screen?

Hey folks,

If anyone can help me with this I would greatly appreciate it.

I have a simple custom field (a radio set) which is "required" when closing an issue.

Any chance I could include it on the "create" screen - but - in that case, making it optional?

Thanks!

5 answers

Hi Andrew,

You can use the JIRA Suite Utilities add-on (field required validator) and set a field required only when executing a given transition.

Hope this helps.

Cheers,

Clarissa.

Hi, Clarissa, Is it possible to make a comment and a work log item mandatory? As far as I know, these are not fields, but rather lists that contain many items. I thought of a custom screen and selecting it for transition, but I could not find any information whether I could use custom screens (the ones created from velocity templates and Java code) in transitions. Then I thought about two custom fields, one for comment, another for log time. I could populate them on transition screen, require them in custom Validator, copy to comments and work log accordingly in custom post function and clearing them in another post function. What do you recommend?

Clarissa - thanks so much!  And thanks for the fastest forum response in human history smile

0 vote
Joe Pitt Community Champion Feb 19, 2015

You can't. The way you handle this is you put the field on a screen used in the transition to close and require it there with the jira-suite utilities or other plugin. If you only want it updated there I would only put it on the view screen besides the transition screen. If you haven't installed the jira-suiite utilities plugin I strongly suggest you do. It is very helpful.

Clarissa-

Does the JIRA Suite Utilities solution you have suggested allow for marking the field as required (in Andrew's case) on the 'Close Issue' screen, or does it only validate it when you attempt to actually close the issue? 

Tim

Hi there,

 

You can refer to this page https://confluence.atlassian.com/jirakb/how-to-make-jira-applications-fields-required-in-a-workflow-transition-691011903.html to give the workaround or resolution a try.

 

Thanks,

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,345 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot