Can you define a default field as a required field in Jira?

shiri_naftali July 28, 2015

Can we make the “assignee” field compulsory? I don’t have options on this field 

4 answers

0 votes
Vijay Khacharia
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.
July 28, 2015

Hi,

May be then you need a javascript hack to make it mandatory.

Example mentioned here

https://answers.atlassian.com/questions/189606

Vijay.

0 votes
LakshmiS July 28, 2015

I have made it a required field using a validator in a workflow transition. That means that even if an issue is created with no assignee, it cannot go further in the workflow.

Not the best way to handle it, but works

0 votes
Vijay Khacharia
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.
July 28, 2015

Hi,

You can make a field mandatory or not per field configuration. So you can make the field mandatory on a project level by creating a Field Configuration scheme for that project. 

https://confluence.atlassian.com/display/JIRA/Specifying+Field+Behavior

On transition you can use the validator as suggested above.

Regards,

Vijay

Nicolas Bourdages
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.
July 28, 2015

Can't use field configurations for that with Assignee. It's one of these special fields that can't have the Optional/Required settings.

0 votes
Sateesh Chandra
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.
July 28, 2015

Disable the 'Allow Unassigned Issues' in your System settings?  . The Assignee field will act like mandatory field

Nicolas Bourdages
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.
July 28, 2015

That will apply to all projects though. If you want this for a specific project or issue type, use a "Field is required" validator in the Create transition in your workflow.

john.pfotzer@verizonwireless.com July 28, 2015

But won't that "make" the project lead assigned unless you specifically assign someone else?

Nicolas Bourdages
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.
July 28, 2015

You would have to deactivate the default assignee for that project of course, so that the default remains "unassigned". Isn't that the point anyway, to force users to pick an assignee?

Suggest an answer

Log in or Sign up to answer