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

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

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
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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

224 views 0 6
Read article

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