Forums

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

Default issues to unassigned for all projects

Jeff Storey
Contributor
June 4, 2013

Is there a way to default all new projects to have the assignee for new issues to be unassigned? I know I can change it on a per project basis, but I'd like to change it at a global level.

2 answers

1 accepted

0 votes
Answer accepted
MatthewC
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 4, 2013

You could do a SQL update on the Jira DB. if you look at the project table

select ID, pname, URL, LEAD, DESCRIPTION, pkey, pcounter, ASSIGNEETYPE, AVATAR from project

there is a column, assigneeType. It has a sequence of numbers as valid values. I don't think these values link to anything in the DB, rather they are stored in the source code in the AssigneeTypes class: https://docs.atlassian.com/jira/latest/com/atlassian/jira/project/AssigneeTypes.html

A quick look shows you the value for unassigned is 3

You'd have to shut Jira down, do the update & restart and MAKE SURE YOU HAVE A BACKUP...

Oh, & test it first....

/**
* Assignee is set to the default for the project.
*/
public static final long PROJECT_DEFAULT = 0;

/**
* Assignee is set to the {@link com.atlassian.jira.bc.project.component.ProjectComponent} lead.
*/
public static final long COMPONENT_LEAD = 1;

/**
* Assignee is set to the {@link com.atlassian.jira.project.Project} lead.
*/
public static final long PROJECT_LEAD = 2;

/**
* Issue is left with no assignee.
*/
public static final long UNASSIGNED = 3;

Jeff Storey
Contributor
June 4, 2013

I'm not necessarily trying to change all my current project. I'm wondering for new projects if there is a way to make that the defaut setting.

MatthewC
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 5, 2013

As long as you have unassigned issues set in the general config (https://confluence.atlassian.com/display/JIRA/Configuring+JIRA+Options) you can set it every time you create a project. You can't make it the default selected option in the project creation form, it is what it is.

https://confluence.atlassian.com/display/JIRA/Defining+a+Project

Jeff Storey
Contributor
June 5, 2013

Thanks, I was hoping there was some way to make it the default option, but I guess not.

0 votes
lmiranda_atlassian
Contributor
June 23, 2013

JIRA 6.0.3 update

Starting with JIRA 6.0.3, when the "Allow unassigned issues" option is ON then the default assignee for newly-created projects will be "Unassigned".

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events