Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Can't use issueFunction in script runner enhanced search?

Hi Team,

We are trying to use the following query : issueFunction in linkedIssuesOf("labels = 'XXXX'", "Contains")

But it says : Field 'issueFunction' does not exist or you do not have permission to view it.

We're on jira cloud version and having script-runner valid license.

Let us know the cause of this error.

Thank you in advance. 


4 answers

1 accepted

2 votes
Answer accepted

Hi Narendra,

I can confirm that the error which you are recieveing is the one documented inside of the knowledge base article located here  which explains that inside of ScriptRunenr for Jira Cloud you must run these queries on the Enhanced Search page.

I hope this information helps.



Hi Kristian, we have scriptrunner installed on jira cloud, but I'm not seeing what you're referencing in those docs to solve.

But it doesn't say what to use instead for cloud compatibility.  Can you please elaborate?

To help other that may be struggling with this - I found that sometimes manually typing out the query in Jira Enhanced Search doesn't work or identify the function being used (see my above post for an example) - instead for reasons I don't know and which weren't clear via the documentation, I had to build the query using the provided query/function builder.

2022-04-09 09_50_21-ScriptRunner Enhanced Search - Jira.png

2022-04-09 09_51_28-ScriptRunner Enhanced Search - Jira.png

We're having the same problem:

1) Are trying to use the Jira scriptrunner advanced JQL function linkedIssuesOf

2) Exact JQL =

issueFunction in linkedIssuesOf("project = EVAL and resolution = unresolved","ADHOC to SDLC Relationship")

3) We are using ScriptRunner Enhanced Search in Jira Cloud (not the regular search toolbar)

4) We're getting the result: Function 'linkedIssuesOf' does not exist


2022-04-08 08_56_30-ScriptRunner Enhanced Search - Jira.png

Kristian's answer is still right.

0 votes
Jack Brickey Community Leader Oct 28, 2020

that function is associated w/ Scriptrunner. Do you have that addon?

Yes @Jack Brickey  we're having the valid license of Scriptrunner. 

Jack Brickey Community Leader Oct 29, 2020

In that case please see Kristian's answer as it is the correct answer.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,541 views 37 45
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you