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

1 vote
Accepted answer

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

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

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 Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

46 views 0 2
Read article

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