Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ScriptRunner Enhanced Search query for automations in Jira

Lorenzo Cancelli March 8, 2023 edited

Hello community

I have inserted in a JQL filter of automations in Jira a query

It works on ScriptRunner Enhanced Search, but inside the automation it gives an error.

Is it possible to transform it so that it is taken as a filter in the automation?

thanks for your answers

Lorenzo

 

Screenshot 2023-03-08 153533.png

1 answer

0 votes
Kristin Lyons
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.
March 8, 2023

Can you post the JQL you are attempting to use?  From the screenshot it seems like we can update it to work for Automation.

Lorenzo Cancelli March 8, 2023

Hi @Kristin Lyons 

this is the JQL but I created it via ScriptRunner

project = ONB AND issuetype in ("(LP) New Merchant ES", "(LP) New Merchant FR", "(LP) New Merchant IT", "(V.I.P) New Merchant Global", "New Merchant ES", "New Merchant FR", "New Merchant IM", "New merchant DE", "New merchant IT") AND status in ("Account Creation", "Approval In progress", "Contract Sent", "Contract Signed", "Documents missing or incomplete", Escalated, "Final checks", "ID VERIFICATION COMPLETED", "ID VERIFICATION REQUESTED", "KYC Approved", "KYC INFORMATION RECEIVED", New, "On Hold", Pending, "RB signature required", "Ready for KYC", "Under approval/ Double check", "Waiting for contract", "Waiting for merchant information", "WAITING FOR RB APPROVAL") AND issuefunction in linkedIssuesOf("project = "Scalapay Integration Support" AND status = Escalated")

Kristin Lyons
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.
March 9, 2023

It's this part that is causing a problem in Automation "issuefunction in linkedIssuesOf("project = "Scalapay Integration Support" AND status = Escalated")"

Is this part of the query for searching all issues linked to an Escalated issue?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events