Forums

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

Creating Custom JQL Function in Jira ScriptRunner

Preetham K S July 11, 2024 edited

Hi Everyone, 

I am working on to create a new custom JQL function in Jira Script Runner and need some assistance. My requirement is to create a Custom JQL function (slaMET():Returns issues that have successfully met their defined SLA.)

what I'm aiming to achieve:  Custom JQL Function: issueFunction in slaMET().
Excepted output: That function should return issues that have successfully met their defined SLA.

Script runner version: 8.29.0.

I have already created the path to store the file path is: com/onresolve/jira/groovy/jql in scripteditor.

Current Facing Issue:

1) I am facing issues such that when i am trying to search issues my jql function come under issuekey not under issuefuntion. But as per my requirement my jql should come under "issueFunction"

1 answer

0 votes
Tinker Fadoua
Community Champion
July 11, 2024

Hi @Preetham K S 

Welcome to the Atlassian Community!

What do you mean a new JQL function? I don't think you can do it.

You will have to use the existing function. It is not like creating a script to achieve a certain behavior in Jira.

Best,

Fadoua

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events