It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change Assignee based on a custom field

Kyle Cianchette Jul 30, 2012

So I understand that JIRA doesn't have this capability built in.

We want a post function in the workflow to automatically assign a user based on a specific custom field. For example, we have a field called "Unit Tester" where we choose a person who is going to be the unit tester at the beginning of our workflow. We want to pull that value out at a step later in the workflow, and make that person the assignee.

I was wondering if there are plugins out there that allow you to do that?

And we don't want the Unit tester to be chosen by anyone other than the person in the beginning of the workflow, so just changing the assignee manually late in the workflow won't fly.

5 answers

1 accepted

8 votes
Answer accepted
Jobin Kuruvilla [Go2Group] Community Leader Jul 30, 2012
Kyle Cianchette Jul 30, 2012

That's what I needed. Thanks!

0 votes
Kyle Cianchette Jul 30, 2012

Yup, that's what I needed. Thanks!

0 votes
Saurabh Dec 17, 2012

Is there anyway through which we can copy one of the customfield of parent ticket to asignee of Sub ticket.

Customfiled in parent ticket is user picker field.

Radu Dumitriu Dec 17, 2012

Try JJupin if you want abstraction from the Jira internals. Or, you can use Script Runner ...

0 votes
Pritish Sinha Feb 02, 2014

1) Add a Post Function to the WF transition

2) Click Copy Value From Other Field

3) Give these values:

Source Field = Custom Field

Destination Field = Assignee

Alexandr Voitenko Feb 19, 2014

This doesn't seem to work. I am able to copy one custom field's value to another(both of type User). The copied value appears on view screen. But when I copy the same custom field's value to assignee, the value is in the db, but not on the view screen. Have any idea what is the problem^

Jessica Bartsch Sep 27, 2016

I have the same problem. This doesn't work for the Assignee field. It ends up staying unassigned after completion.

Annette G. Sep 28, 2016

Hi Jessica,

I had the same problem and turned out that the user which makes the change in the background (in our case JMWE user) didnt have permissions to edit issues. This user is automatically assigned to the project role Atlassian-addons-project-access. By giving this role the permission to edit issues, the JMWE user was able to copy the field value to the user.

Hope this helps.

Jessica Bartsch Sep 28, 2016

@Annette G.

I never knew what that project role was for. Quick question you state that the JMWE user needs to in the role. Is that explicit? Or is that a facet of JIRA plugins that any needed users are implied? I see the role in our instance but no users assigned to it. I don't see a JMWE user in the system either. Thanks for any more insights you can provide. Thank you so much for replying!

NOTE: appears that just adding the project role (atlassian-addons-project-access) to the projects permission scheme for Editing Issues  must give an implied connection for the JMWE user as I made no other changes and it worked.

0 votes
Alper AYKUT May 10, 2015

you can use the "Set a field as a function of other fields" function in JIRA Workflow tool plugin.

 

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

7,387 views 23 35
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you