Is there a way to set a Lead on a project's role

Would like tickets to auto assigne to the roles Lead on different statuses.

Is this possible.

So Role: QA

QA Lead: Mike

QA Testers : Bob, jack, Eric

When tickets go to status QA, want it to auto assign to the QA Lead. the QA Lead could change. But I would hate to go into the workflow every single time that happens and have it hard coded with a users name.

1 answer

1 accepted

Create a new role called QA Lead. That way each project can have a QA Lead.

Then write a workflow post-function that takes the person in that role and assigns them the issue--stick it on the "Create" step. You can use a ProjectRoleManager object to get a list of ProjectRoleActors, and just grab the first User from that list and assign them the issue.

Writing that is pretty straightforward.

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 Apr 17, 2018 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...

800 views 2 19
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