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

Automatically change assignee when changing status

Hi guys,

 

The tickets we assign to the client have the status Done. The client usually reopens the tickets using the appropriate status and at the same time, he wants it to automatically change the assignee (from him to the required developer). 

 

Could you please advise if this is even possible?

 

Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Jack Community Leader Nov 15, 2019

Yana,

I am assuming the client has full access and permissions to transition and assign issues. If not please elaborate on the situation further. What I recommend is that you add a transition screen called say “reassign” and include the assignee field. Edit the workflow and add that screen to the reopen transition. Add a validation that requires that the assignee field be updated. Publish the workflow. Note, the one possible downside of this is if the client changes the assignee before transitioning the issue then it will get messy since they will still be required to modify the assignee. So they would need to cancel the transition, change the assignee back to themselves or some user other than the desired one then perform the transition and set the desired assignee.

Hi Jack, 

 

Thanks for your response! Yep, the client has full access and permissions. He doesn't want to waste his time clicking on any buttons like choosing the assignee or anything else - he wants it to be done automatically when he changes the status from done to reopened. 

Thanks again for your help!

Jack Community Leader Nov 15, 2019

Ok, so is the reassignment done to the previous assignee and if so will this always be the case? If so I recommend creating a custom user picker field called say “developer”. When resolving the issue copy the current assignee to the “developer” field using a post function. Then add a post function to the reopen transition to copy the developer value to the assignee. 

Pro tip: you may want to further automate by naming the custom field “previous assignee” and setup you transition post functions to ping-pong between the developer and client.

Great, this is at least something we can handle on our own later. Thanks a lot for your help!

0 votes
  1. Log in as a user with the JIRA application administrator global permission.
  2. Click the cog icon from the top bar and select JIRA Administration > Issues, then Workflows (in the left pane)
  3. Click View on the targeted workflow 
  4. Click the name of the desired transition 
  5. Enter the post-function tab
  6. Click Add Post Function
  7. Select Update Issue field
  8. Add
  9. Select Assignee in the Issue Field
  10. Start typing the username in the Field Value text box or click the Select a User icon beside the text box and select the desired user and click Add.
Jack Community Leader Nov 15, 2019

You want to “edit” rather than view workflow. In any event the limitation here is that it is a static single user. If the issue is to always be assigned to the same person this will work.

If You Have the Any Grop like  developer You Can assign that Group That time Also It Will Helps to you  @Yana Barsegyan @Jack 

@PVS  thanks a lot for your prompt response! I'm not sure that the problem described in the article matches mine. 

When an issue is transitioned to "In Progress", you may want the issue to be automatically assigned to the person who transitions it. 

I really like the idea about groups - will try it out

Ok Any Ware It's Working If he has Acces To that Transaction  @Yana Barsegyan 

Suggest an answer

Log in or Sign up to answer
TAGS

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