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

This widget could not be displayed.

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?

This widget could not be displayed.

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

This widget could not be displayed.
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.

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

46 views 1 0
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