Automatic Assignee ? Change the default assignee if no one is chosen

Antoine
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.
August 29, 2016

Hello all,

I wonder if it was possible to set a person assigned by default if the Assignee field is not filled?

In example if no one is set as Assignee, the issue will not be "unassigned" or "automatic",

the assignee will be the person which has been established.



2 answers

2 votes
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 29, 2016

The easiest way to do this is to specify a component on the create issue screen and in the component configuration choose the assignee as the component lead. And you can choose the component lead.

https://confluence.atlassian.com/adminjiraserver071/managing-components-802592503.html

The harder way is to use something like Script Runner and map the assignee in the post-function of the create transition 

Antoine
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.
August 29, 2016

Thank you, I've tried the easier one, it looks to work well !

1 vote
Fidel Castro
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.
August 29, 2016

You can use "Copy a parsed text to a field" post-function of JIRA Workflow Toolbox with the following configuration:

Captura de pantalla 2016-08-29 a las 17.08.49.png

Captura de pantalla 2016-08-29 a las 17.08.59.png

replacing user_name with the user name of the default assignee your want to set. Don't write the user's full name, but the user name.

Once configured, your Create Issue transition will look like this:

Captura de pantalla 2016-08-29 a las 17.10.58.png

Antoine
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.
August 29, 2016

Is it an add-on ?

Fidel Castro
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.
August 29, 2016

Yes, it's JIRA Workflow Toolbox add-on.

You can also use a project role for setting the default assignee for a project. To do it you should set the default user for a project role in a project, and then write the name of a project role instead of a user name in parameter Text to be parsed.

Suggest an answer

Log in or Sign up to answer