Forums

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

Set default assignees to team leaders?

Arbak Martirosyan December 9, 2018
Hello,
We have multiple teams (groups) in our project, each with its responsibilities. On issue creation screen we have "team" custom field where we fill in the group.
My question is - is it possible to set multiple default assignees based on selected team? So if it's development task, default assignee is automatically set to Dev lead, if it's QA team task - to QA lead and so on...
Can it be achieved via post functions?

2 answers

0 votes
Joe Pitt
Community Champion
December 10, 2018

If you aren't using components you can use them for the teams. Then put the team leaders in the component lead and configure JIRA to auto assign the component lead. The when the issue  is created and assigned to the component it will be assigned to the team lead

Arbak Martirosyan December 10, 2018

That's a nice workaround:) But we may use components in the future.

Joe Pitt
Community Champion
December 10, 2018

There isn't anything out of the box to do it. If you use unsupported plugins they may disappear 

0 votes
Alexey Matveev
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.
December 9, 2018

Hello,

You would need a plugin for it.

For example, you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could add a SIL post function with a code like this:

if (#{team} == "Dev") {
  assignee = "devlead";
}
if (#{team} == "QA") {
  assignee = "qalead";
}

You could find more info about post function here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows#Customizingworkflows-Writingvalidators,postfunctions,andconditions

Arbak Martirosyan December 10, 2018

Thanks Alexey. We will consider it but ideally I'm looking for some solution without (at least) paid plugins. 

Suggest an answer

Log in or Sign up to answer