Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation Rules

Michael Castro August 14, 2018

I am trying to figure out how to create a rule when a user creates a ticket with specific words that it will go into a specific queue or Category. What is the When if then?

2 answers

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2018

@Michael Castro

can i ask why you are using keywords vs. leveraging or setting up some sort of field?

For example you could:

  • use Request Types, which is one of the intended usages for aligning to queues
  • use Components field and require the requestor to select the appropriate Component from the drop down
  • create a new field w/ drop down selection and require requestor to select

Now this only works if the issue is coming in thru the portal (or app directly) and not email. But if you use Request Types you can capture all of the email issues using the channel field.

If you must rely on key words then you can simply define your queues using the proper JQL based upon the keywords. You don't need automation. Example:

queue 1: Summary ~ "Locked out"

queue 2: Summary ~"Printer"

queue 3: Description ~"computer"

Now one think you have to be careful of is that unless you also include a "!~" for every other queue logic then you could end up w/ the same issue in multiple queues. For example, in the above if "computer" in in the description and "Printer" is in the Summary this the issue would show in Q2 and Q3.

Ultimately you going to need and "other queue" that catches all of the issues that are not caught by the specific queues so as not to miss anything.

e.g. 

other queue: Summary !~ "Locked out" or summary !~ "Printer" or Description !~ "computer"

Michael Castro August 14, 2018

Component Fields would be great but I am not sure how that could work since most of our users use email to send in a ticket but if we use the portal How would I go about implementing this? Also could you show how the queue 1 and so on would work with a screen shot? Sorry This is my first time working with JQL.

Raynard Rhodes
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.
August 14, 2018

I highly suggest going through the documentation

Go here, select what you're using (Jira Software, Service Desk, etc) and read up first so we can adequately assist.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2018

@Michael Castro,Agree w/ Raynard that you need to do a bit of reading. With that said to answer your request for snapshot...

  1. go to the project
  2. go to Queues
  3. click New queue at the bottom
  4. click Advanced to get to the advance JQLqueue1.jpg
  5. enter something like below. actual will vary greatly on your needs.queue2.jpg
  6. repeat w/ additional Qs as necessary
Like # people like this
0 votes
Raynard Rhodes
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.
August 14, 2018

I would use Global Automation instead of Project Automation because there are more options available.

How do you normally identify what goes into what queue/category?

Michael Castro August 14, 2018

We use key words with our old ticketing system. We are trying to work it the same way

Michael Castro August 14, 2018

Where is global automation I dont see it??

Raynard Rhodes
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.
August 14, 2018

You can set up queues that will only pull in tickets with certain words in the summary/description. You can do this by editing queue, click more, and typing the field you would like to identify. If you plan on using automation, I suggest global. We place tickets in queues based on component (because the queue configuration will look for component). It really depends on how you have your queues set up to identify issues.

 

queue.png

Michael Castro August 14, 2018

summary ~ Office 365 OR description ~ password And cf[10200] = "Service Desk"

But I am trying to use
Locked out
Printer
New Hires
VPN
Termination
Computer

How could I put all these keywords in my syntax to make it work?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events