How do I set default assignee to a custom field in my project?

3 answers

This widget could not be displayed.
Tarun Sapra Community Champion Aug 12, 2016

Hi Tarun,

I have created a project and I want it to be automatically assigned to the business owner which is one of the fields I added when I create an issue under this project. Whatever, I fill in the business owner field, I want the issue to be assigned to the same person. How do I achieve this?

You may create an Automation Rule like this:

WHEN: Issue Created

IF: Issue matches "Business Owner" = bob

THEN: Edit issue > Field: Assignee > Value: bob

Finally, add some more IFs with different THEN actions.

Tarun Sapra Community Champion Aug 12, 2016

Do you have some plugins installed, as the functionality you want requires a plugin.

Hi Tarun, no I do not have any plugins.

I will try it out! many thanks smile

Tarun Sapra Community Champion Aug 12, 2016

Ok, Please upvote/accept the answer if it works out for you, thanks.

This widget could not be displayed.
Assuming you need to set the issue's assignee with a different user depending on the selected option in your custom field:
 
You can use the built-in project Component(s) field instead of a custom field:
  1. Create one component for each value you would otherwise set in your custom field.
  2. Configure the component leads.
  3. Set 'Component Lead' as the default assignee as per your needs.
Other approaches for your custom fields might also be possible through the inclusion of a post-function on the desired transition, but those are subject to have changes in a near future because of the upcoming removal of JMWE addon.
I have just noticed the presence of labels that suggest your project is a Service Desk one.
If you are using a Service Desk, all said above is still true, but you also have more options at your disposal, like creating a Custom Automation Rule with different conditions for editing the assignee field with a different value.
For example, we could set the assignee depending on the value of a custom field named Customer:
automation.png
You might need to create several IF conditions for each different user you would like to set as the assignee.
Hope it helps.

Thanks a lot for the detailed answer. Very helpful. But one question- I do not see automation option under my project settings. Please check image.Capture.PNG

That project is a Business one (JIRA Core) and not a Service Desk one; that's why.

Maybe, you have more options available on that screen's project type, like Software and/or Service Desk.

I assumed your project was a Service Desk one because this question contains the labels: jira-servicedesk and jira-servicedesk-cloud.

If the project is not os type Service Desk, then the Automation Rules are not available on the project at all.

So, I would recommend creating components with the name of each Business Owner, set the username of the BO as the component lead, and set each component to be assigned by default to the component lead.

This widget could not be displayed.
Tarun Sapra Community Champion Aug 12, 2016

If there are no plugin, then default assignee can be based on "Component Lead" being the default assignee but you would need to use that specific component in your issue. But in your case you want it to be assigned to the "business owner", thus you have to select the component which has the component lead the business owner which you have filled. That way the business owner will become the default assignee. 

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 12 hours ago 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...

39 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