Automation auto-assign priority
Asked by Jeferson Carlos dos Santos:

Hi guys.

Coul you help me?

I'm creating an automation where I want a ticket, when created by the customer, to be distributed to a group of employees who will deal with that specific ticket.  
Each ticket of mine has a different priority level. How do I ensure that, when the ticket is created, it checks the priority level and from there, it directs it to a specific employee? Because some employees have advanced knowledge in some subjects, and these subjects, when created by the client, have to be automatically directed to them. Is there a way to do this in automation?


Answers:
author: Kris Dewachter
body: Hi [@Jeferson Carlos dos Santos](/t5/user/viewprofilepage/user-id/4968071) ,

This sounds like something you can do with automations.

You can use if/else statements in your automation rule(s), to determine the actions that need to be taken when ex. a specific priority is selected.

How is the priority determined ? Is it selected by the user when creating a ticket ?

Also, the 'Subjects' you mention, how are these determined ? Is it a custom field that is selected by the user ?

Best regards,

Kris

comments: author: Jeferson Carlos dos Santos
body: Hi [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367)

The priority is determined by me. It will already be set within each subject that I created for a group that forms a category on the client portal screen. Each subject has a different priority.  
If it is possible, in addition to doing an automation by priority, is there a way to do an automation taking the name of the subject title?  
The subjects are requested forms that I created to include within groups of categories, as shown in the attached image.![img1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/298964i6E61EBAF6D155B78/image-size/large?v=v2&px=999 "img1.JPG")![img2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/298965iD81399BB1B6D850A/image-size/large?v=v2&px=999 "img2.JPG")


author: Kris Dewachter
body: Hi [@Jeferson Carlos dos Santos](/t5/user/viewprofilepage/user-id/4968071) ,

I can see from your screenshots you have a portal group "Vehicle", which contains 4 request types ("Configuration - Vehicle", "Decommission - Vehicle", ...).

You can create an "if" statement in your automation rule on the "Request Type" field.

You can select the name of the correct request type in the "Value" dropdown.

![Screenshot 2024-01-04 at 21.44.59.png](https://community.atlassian.com/t5/image/serverpage/image-id/298978i9C53EC0254D38D70/image-size/large?v=v2&px=999 "Screenshot 2024-01-04 at 21.44.59.png")

Best regards,

Kris


author: Jeferson Carlos dos Santos
body: Thank you very much for the help Kris!!!


author: Joseph Chung Yin
body: [@Jeferson Carlos dos Santos](/t5/user/viewprofilepage/user-id/4968071) -

To supplement what [@Kris Dewachter](/t5/user/viewprofilepage/user-id/4588367) suggested, can you provide some further clarification on the Priority field assignment for the issue created since you mentioned "Each ticket of mine has a different priority level"? Does the default priority field assignment controlled via your project's priority scheme setup, or you have setup some other configurations where you specify the priority value?

Please advise.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Jeferson Carlos dos Santos
body: Hi [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)

I am using default priority levels within my request types. And in each request type that I create I use a different default level, such as Trivial, High, Medium... ![img2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/299081iB47C07F875866764/image-size/large?v=v2&px=999 "img2.JPG")  
Taking advantage of this topic, if I want to create a new field within these request types, for example, a field named Complexity, with a dropdown of names such as Advanced, Moderate, Complex, etc.  
Can I use this field with the options within it for this automation and also within an SLA via JQL?


author: Joseph Chung Yin
body: [@Jeferson Carlos dos Santos](/t5/user/viewprofilepage/user-id/4968071) -

Yes, you can. You will need to create a new custom field (single select dropdown) and associate it to your JSM projet/issue type + adjust the "issue view" screen associated with the request type of your JSM project first.

Afterward, you can use the custom field in JQL and automation.

Hope this helps.

Best, Joseph


author: Jeferson Carlos dos Santos
body: Perfect, I am going to try it.

Thanks for the help Joseph!


Tags: cloud

jira-service-management

jira-service-management-cloud