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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,981 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot