Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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. 

Regards,
Narendra

4 answers

1 accepted

2 votes
Answer accepted
Kristian Walker (Adaptavist)
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 28, 2020

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.

Regards,

Kristian

Hi Kristian, we have scriptrunner installed on jira cloud, but I'm not seeing what you're referencing in those docs to solve.    https://docs.adaptavist.com/sr4jc/latest/scriptrunner-enhanced-search/comparison-with-scriptrunner-for-jira-server

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

Yes!  TYVM!  This worked for me with the same issue!

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 08, 2022

Kristian's answer is still right.

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events