We use Jira cloud. We recently installed ScriptRunner Enhanced Search - Adaptavist
add-on. When I login to Jira, I can see the following sections
I can go to "ScriptRunner Enhanced search" and I can write queries like
issueFunction in linkedIssuesOf("project = xxx") and it works fine.
But when I go to "Issues and filters" section and run the same query, I get
Field 'issueFunction' does not exist or you do not have permission to view it.
How can i integrate this add-on to main jira query search ?
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 restrict 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 inside other filters or on filters for Agile boards, and to use the functions in other filters then you will need to follow the steps outlined below.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
This does not solve the problem IMO.
@Kristian Walker _Adaptavist_ this appears to save the filter and its current set of results. Meaning that if the result changes then the saved filter is not impacted.
So for example
The way enhanced search works is that any changes to the enhanced search filter are synchronised to the regular Jira filter every X minutes depending on the value you configure on the settings page as documented here.
Also when the filter is shared you must toggle the Sync Filter button for this to happen as documented here.
This unfortunately is caused by how the enhanced search works in Jira Cloud and how Jira Cloud is different to Jira Server meaning we cannot allow the enhanced search functions to be run in the regular Jira Search.
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