What is the meaning of the word "function" in JQL?

Hi Community, specially Atlassian:

I was trying some JQL search testing, without using the Groovy Script Runner. When I was trying to set some complex queries I found out that I might use the word "function". However, at the results there is a notification that mentions the following:

Error in the JQL Query: 'function' is a reserved JQL word. You must surround it in quotation marks to use it in a query

I'm quite curious about the word function in the JQL query search notation?


2 answers

1 accepted

This widget could not be displayed.

Hi Darly,

it's just a reserved word from JIRA, see https://confluence.atlassian.com/display/JIRA051/Advanced+Searching#AdvancedSearching-ReservedWords

If you want any cool JQL functions you should use either JQLT plugin and/or ScriptRunner with scripted JQL functions.



But it mentions that you need to sorround the word with quotes. However, JQL is reading it as a field (which is not)

This widget could not be displayed.
"function" is a reserved word which you should not use. I don't know what you have read about this but it is wrong.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

150 views 1 3
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