How do I auto-assign a ticket to a certain user based on who resolved it?

So our company has two SQA engineers. One of them writes front-end Selenium tests for the UI, and the other writes backend API tests. Currently, I have a post function set up in the workflow such that when a ticket is marked as Ready for QA, it is assigned to a single one of those people (e.g., assign to bob.smith).

However, what I'd really like to do is create a condition in the workflow wherein the assignee is dependent on who resolved the ticket. For example:

1) If a ticket is resolved by members of the UX team (e.g., UX-developers-group) then assign to the UI tester (e.g., assign to mary.smith)

2) If a ticket is resolved by members of the engineering/API team (e.g., API-engineers-group) then assign to the API tester (e.g., assign to bob.smith)

I've looked at the Validators and Conditions section of the workflow, and nothing seems to make sense for that purpose. Do any of you smart folks have a solution for this?

Thanks in advance,

4 answers

1 accepted

There might be far better solutions but first thing that comes to my mind is the following:

1. create two transitions with "Ready for QA" as the destination step

2. set up conditions on the workflow transitions so that people in group X only can see transition x and people in group y can only see transition y.

3. Set up different post-functions since you have designated transitions now...

It's a little dirty but it should work. Probably people will come up with better solutions (you could always script your way through with Jamies scriptrunner for example) but those are my 2 ct


0 vote
Joe Pitt Community Champion Dec 11, 2013

You can do this by implementing 2 resolution transitions. One that can only be executed by UX team and one by API team. Then when the appropriate transition is executed use the post function to assign it.

I appreciate it, but that's kind of a clunky solution. You mean I'd have a "Ready for UX QA" versus "Ready for API QA" button? Kinda just seems like JIRA should have a better solution in the workflow editor for this.

Not out of the box I guess...

0 vote
Joe Pitt Community Champion Dec 11, 2013

It doesn't. Remember, if you restrict the transition to the appropriate user role they users will only see the transition for them.

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

159 views 1 17
Join discussion

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