How to set a custom field from a project role?

We want to set a "User Picker" custom field on a new issue to default to the first person with a given role on the project. We want each issue to store this person so that it can be changed per issue, but we want it to default to the project role.

For example, if we have a "Lead Tester" role we want whoever has that role on a project to be the default user in a corresponding "Lead Tester" custom field on each issue.

I'm using Post-Functions in the Create transition on the workflow but I can only set the assignee to a project role, I can't set other fields to a project role.

As a clunky work-around I'm setting the assignee to the role, then copying the assignee to the custom field, and then setting assignee to reporter. This works okay but means we can't manually set the asignee field on creating a ticket, because it gets overwritten.

2 answers

1 accepted

i have't tried this, you may check this plugin

https://marketplace.atlassian.com/plugins/com.iamhuy.jira.plugin.issue-alternative-assignee

check this issue and add your requirement as a comment it they may consider while they implementing this feature in future releases

https://jira.atlassian.com/browse/JRA-7659

Mike, I find your "clunky work-around" to be sufficient. Can you give a little more detail to how you are, "setting the assignee to the role?"

I can't find a way to do that unless I go buy a plug-in.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,934 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot