The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to set a custom field from a project role?

Mike Howells
August 27, 2013

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
RambanamP
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 Champions.
August 27, 2013

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

0 votes
David Holshouser
Contributor
April 25, 2017

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.