How do I assign a ticket based on the reporter and custom user picker field?

Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2015

We use JIRA issues to request any change to a user's account (new users, dept. transfers, etc.) . One of the fields required is a user picker field for the user's manager. Sometimes the manager himself will put in a ticket or someone will put the ticket in on his behalf. The goal is to auto assign the issue to IT if the reporter is equal to the user selected in the Manager user picker field, but the issue should be assigned to the user in the Manager field for issue approval if the reporter isn't the manager. I'm not sure how to accomplish this.
In a nutshell:
1-Reporter creates a User Account ticket and fills in all fields, including the user's manager
2 - a. Assign to IT if the reporter = user's manager
b. Assign to user's manager if the reporter is someone different so that the manager can approve the request
Any advice on this?"

1 answer

0 votes
Nitram
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.
October 13, 2015

Hi,

if you guys are using a addon like JJUPIN(paid Plugin) it is easy to accomplish the above

Using JJUPIN

Create a post function - select sil script - write the condition and assign the ticket to them

If you dont have Add on

Create a custom plugin for your post function

get the issue, based on your condition - auto assign the ticket to exact team or Manager.

 

Hope this helps!

 

 

Suggest an answer

Log in or Sign up to answer