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?

Thanks

2 answers

1 accepted

0 votes
Accepted answer

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.

Cheers

Florian

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

"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
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,409 views 15 19
Read article

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