how to auto assign an issue to a user on transition from one state to another

I have a 8 step workflow. Upon creation, the tickets are set to be auto-assigned to project leads. 

I want to assign the ticket to another user (a developer) when the project lead accepts the ticket. 

How can this be done?

2 answers

4 votes
Zack Seibert Community Champion May 16, 2016

If it is a specific user, you can do this is a post function on the transition where the ticket is taken.

Thank you for the reply. 

I already did that, here is what I did:

  • I added the user I want to assign the ticket to as the "Assignable user" in project permissions
  • In project permissions I also had to add the Project Lead to whom the ticket is automatically assigned
  • When I test this, ticket is assigned automatically to the project lead on creation, which is fine. BUT the ticket is not assigned to the desired user when I move from open stage to the next. It stays assigned to the project lead 

 

Zack Seibert Community Champion May 16, 2016

So on the transition from Open to whatever the next status you are going to is, you're going to want to set a Post Function in the workflow and use the "Update Issue Field" option. You can set the assignee on issue to a specific user here automatically.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 5 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

27 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