Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to auto-assign an issue to a component lead when it's moved to a specific status?

Amber Arguijo March 3, 2021

For example, when an issue is moved to Ready for QA or In QA, it auto-assigns to the QA component lead that is set for the project. 

 

The only method I see is to create an automation to assign to a specific person name, but trying to avoid having to change that automation every time there is a team member change. Would also like to be able to copy project config to a new project, and using component lead would again prevent having to update the automation for each new project.

3 answers

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 3, 2021

Hi @Amber Arguijo  -- Welcome to the Atlassian Community!

As you note, with automation rules there is no way yet to access the component lead from the issue smart value, and so do the assignment.  Here are the suggestions to support that:

https://codebarrel.atlassian.net/browse/AUT-123

https://codebarrel.atlassian.net/browse/AUT-917

Until one of those are implemented a convoluted work-around would be to call the REST API from the automation rule (using a web request) to get all the components, pull out the lead using RegEx, and then make the assignment.

Best regards,

Bill

0 votes
Jack Brickey
Community Champion
March 3, 2021

yes. use Automation.

Trigger - issue transitioned from (any) to Ready for QA

Condition - if/else block and inspect for each component

action - in each if/else leg use Edit issue and set Assignee

Amber Arguijo March 3, 2021

Thanks! I was actually hoping to be able to just tell the automation to assign based on the leads for each component that were already set in the project settings, instead of having to choose the assignees for each component again in this step. 

0 votes
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 3, 2021

You can write a scripted postfunction to do this and attach it to the transition.

Amber Arguijo March 3, 2021

Okay - so no way to do this natively? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events