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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 6 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

25 views 0 4
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