Forums

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

Automatic groupselection as postfunction

Sebastian Schramm October 16, 2018

Hi,

i have a Workflow with many users in there. All of the users are sorted by groups, so i have 7 groups with 10 users inside. Now i have 1 User per group as Lead of this group. I want, that this leader gets automatically selected if one of the users out of his group creates a ticket. Is there any possibility to do that with postfunctions?

Example:

User A is in Group A with Leader A (defined in a second Group so i have 2 Groups)

Leader A is in Group A and in Group Lead A.

If User A creates a Ticket, Leader A gets automatically assigned. (Selected by Groups)

 

Thanks for your Help!

1 answer

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2018

Hello Sebastian,

There are several plugins that you can use to achieve this feature. I can think about four possible options:

1 - First, I would recommend Scripting Suite for JIRA as a free solution so you can build a script like the one informed in the link below:

https://community.atlassian.com/t5/Answers-Developer-Questions/Set-assignee-based-on-reporter-group-in-post-function/qaq-p/572003

2 - If you are using Script Runner or JIRA Misc Workflow Extensions, you can try the solutions provided below:

https://community.atlassian.com/t5/Answers-Developer-Questions/Setting-Assignee-Based-on-Reporter-s-Group/qaq-p/566348

3 - However, if you are not very familiar to Python or Groovy Script, you can use Automation for JIRA and perform a rule like the one below:

Screen Shot 2018-10-16 at 16.05.18.png

Suggest an answer

Log in or Sign up to answer