Hello,
I'm new to writing JQL and all the many tutorials and posts have not helped me solve this after dozens of iterations.
I'm implementing an automation rule that if issues are in certain status/field situations that an email would be auto generated to the reporter.
The trigger is a daily run at a certain time (e.g. end of day), then the trigger will look for issues in certain status. Currently I have this written as
{{lookup.Issues}} 'IN' status = Processing 'OR' status = Received
I'm very sure what I'm writing here is wrong and error messages confirm but I cannot seem to get the right syntax. Thank you in advance for your time and help!
Hello @Heather Marquez
You cannot use a smart value in the JQL that is within the Schedule trigger.
Remove the {{lookup.issues}} IN portion of that JQL.
You can also add the two conditions that follow the trigger into the JQL in the trigger:
status in ("Processing","received") and issueType="Port a Number" and Labels in ("pending_customer")
And, here is some free training from Atlassian to learn more about using JQL (thanks to @Bill Sheboy who posted these on another Question):
Adding to Trudy's answer...
Would you please describe the problem you are trying to solve by doing this?
You seem to be sending notification emails to the reporters of the issues for some type of notification. Do you want to send one email for each issue or to send one email to each reporter (with a list of their issues)?
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Trudy! The changes seemed to have worked well. Have been taking the tutorials too so appreciate sharing those!
I am running into a "Throttle" issue
The goal is to take all issues that agents were tagged in a given 24hr period and send one email daily to the reporter notifying them of the information required to resolve their issue. Generally a reporter will only have one issue ticket so it is one email for each issue.
It seems that Trudy's suggestions work great but now running into a Throttle issue. Based on the screenshot I just added here, is Jira looking at all issue tickets and not just the ones I filtered on (e.g. Issue Type, Label)? I only have 13 tickets in those states and that falls under the default requirements for allowed service limits.
Thank you so much in advance for any additional light you can shed on this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The throttling is being applied based on the JQL in the trigger. If you add the Conditions as part of the JQL in the trigger, rather than applying them after the trigger, that should alleviate the throttling.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.