Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Auto assign back to previous contributor

Hi All,

I have a somewhat weird/complex workflow (I'm not doing software dev)but essentially it works like this

  1. Supervisor creates ticket, enters it into workflow
  2. Supervisor assigns ticket to worker
  3. Worker transitions ticket through flow as he/she completes required tasks
  4. Worker assigns ticket back to Supervisor to review
  5. Supervisor verifies and closes the ticket

I want to make it so during or after the Supervisor verifies and closes the ticket, it automatically assigns the ticket back to the worker for reporting purposes. There are many different workers, so I can't do an easy pf that always assigns it back to the same user on close. Any ideas?

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted

Requires scripting and depending on what you do, it may also require JIRA Misc Workflow Plugin, ScripRunner, JIRA Script Utilities

1.) Create a custom field to be populated upon "assign" transition and copy the "assignee" to this field, then in a particular transition, put a post-function "Update field" and get the value from your temp custom field to the "Assignee" field.

2.) You can put a post-function on a transition to update the Assignee to back to the previous assignee

 

Thank you Gabrielle. I was considering option 1, but from a UX perspective I'm not a huge fan of it(It just dawned on me that I can hide the fields as well, so theres that). I'm very interested in option 2, but for the life of me I can't find that post function option. Would you mind cluing me in to where it is located?

"Assign to last role member" - Assigns the issue to the last user from the specified role that had this issue assigned before.

Thank you both for your answer. The custom field solution was definitely the easiest and most awesome. Thanks again Gabrielle :D

TAGS
Community showcase
Published in Marketplace Apps & Integrations

Delivery and Operations Teams can be more Effective and Profitable

    Managing services end-to-end, optimizing efforts to deliver the best services to customers. This is what team leaders and managers want to achieve. When using a tool like Jira, it...

19 views 0 0
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