Script Runner commented function

Hi All

I have just installed script runner. I was to create a function that will allow me to show all issues within several epics.

I am playing now to try to get to grips with it. It seems very comprehensive!

I haev some questions from my playing smile

1_ Are the script runner functions only accessible via the administration -> Script Runner console? Are they available via the main search console in JIRA for end users

 

2_ For testing I saw there was a commented built in function. WHen I try and run the followig I get an error. I have tried various permutations but cant seem to get it to run. Im trying this is in the Script Runner console.

commented (by = jones)

Do I have to enable something? Are there any example of how the built in functions can be used? I couldnt seem to find the build in functions as scripts. I am assuming they are within the jar file.

 

3_ So it's clear in my head I am assuming that I will have to create another script function (issuesWithinEpics) or something similar and then upload it vai the script runner admin page. Ideally this would be accessible from the main JIRA search page. Is my understanding correct?

 

Thanks

1 answer

1 accepted

This widget could not be displayed.

Hi...

Are the script runner functions only accessible via the administration -> Script Runner console? Are they available via the main search console in JIRA for end users

They are JQL functions accessible to all users.

commented (by = jones)

It should be this:

issueFunction in commented('by jbloggs')

Note the quotes. And see the doco: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-commented(commentquery)

create another script function (issuesWithinEpics) or something similar

Sort of, some info here: https://jamieechlin.atlassian.net/wiki/display/GRV/Breaking+Changes+for+Custom+JQL+Functions+in+3.0

Chances are though that you may not need to write anything, read above and below: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-MoreComplexExamples

 

 


 

Thanks Jamie. I missed the JPQ functions page. ive been playing around and have got what i needed. This is REALLY GOOD. Thanks for your help

np, glad it worked out.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

220 views 3 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you