Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter for linked issues of my project doesn't work

Patrizia Flunger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2023

Since the latest update of our Jira Software its no longer possible to filter for issues, that are linked to issues in our project. 

We have several projects in our company with dependencies (especially for deployments) and we need to see a list with tickets that are ready for testing, ready for deployment AND are linked with existing issues in our board, that are selected for next release)

already tried without success:

issueFunction in linkedIssuesOf("project = PROJECTKEY")
issueFunction in linkedIssues("project = PROJECTKEY")

I get the error: 

Field 'issuefunction' does not exist or you do not have permission to view it.

 

2 answers

0 votes
Kristian Walker _Adaptavist_
Community Champion
December 4, 2023

Hi Patriza,

Thank you for your question.

I can confirm that in Jira Cloud you can only use the issueFunction() JQL function provided by ScriptRunner on the Enhanced Search page as described in the documentation here.

This is due to the way that Atlassian restricts how the JQL functions can interact with their infrastructure meaning we must run them in a sandbox process.

However, this does not mean that they cannot be used inside other filters or on filters for Agile boards. To use the functions in other filters, you may follow the steps outlined below.

  1. Navigate to the enhanced search page located in your instance at <JiraBaseUrl>/plugins/servlet/ac/com.onresolve.jira.groovy.groovyrunner/jql-search-view and construct the filter you require using the JQL functions provided bv ScriptRunner.
  2. Save your filter and share it with the users that are required to be able to see it.
  3. Create the JQL search used by your board filter or quick filter and reference the saved filter using the syntax shown below, which will return the results of your filter using the JQL functions provided by ScriptRunner.

    filter = "<NameOfFilterHere>"

     

If you need further assistance in getting the query working then can I please ask you to raise a request with our support team located here.

I hope this helps.

Regards,

Kristian

0 votes
Ste Wright
Community Champion
November 30, 2023

Hi @Patrizia Flunger 

This isn't a native JQL feature.

IssueFunction is usually related to an app - was this app potentially uninstalled or deactivated?

Ste

Patrizia Flunger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2023

Hi
we have installed the following:

Adaptavist - ScriptRunner for Jira Cloud
Behaviours - ScriptRunner for Jira Cloud
JIRA Toolkit Plugin

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events