Is there a way to have no default option for the built in priority field?

SimonF June 15, 2011

Is there a way to have no default option for the built in priority field?

I'd like to have no default option selected so that it forces users to think about what priority should be set when creating an issue rather than just going with the default.

2 answers

0 votes
Jobin Kuruvilla [Adaptavist]
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.
June 15, 2011

Strike that, you will have to add more code. The one I posted above removes the none option altogether!

I don't know of any method to add none option via GUI but you can change the default to say Minor or something else. To make None as default,

<option value="" selected="selected">$i18n.getText("common.words.none")</option>

add this instead of the above code and remove the following:

#if ($priority && $pr.getId() && $priority == $pr.getId()) selected="selected"#end

It will then force the user to select one.

Jason Smith March 18, 2015

Assuming I did this correctly, it just forced the top priority (blocker) to be the default in 6.3.15.

0 votes
Jobin Kuruvilla [Adaptavist]
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.
June 15, 2011

You will have to modify the edit priority template priority-edit.vm at atlassian-jira/WEB-INF/classes/templates/jira/issue/field. Just remove the follwing:

#if ($displayParameters.displayNone)
<option value="">$i18n.getText("common.words.none")</option>
#end

SimonF June 15, 2011
Thanks Jobin, I'm guessing there's no way to actually do this through the built-in interface though is there?

Suggest an answer

Log in or Sign up to answer