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
4,362,314
Community Members
 
Community Events
168
Community Groups

How do I get a "ScriptRunner Enhanced Search" Filter to auto refresh?

This is my filter created using "ScriptRunner Enhanced Search"

 

 issueFunction in linkedIssuesOf("Project = XXX and issuetype = Epic", "is a Parent of")

 

 and every time I load this script, I would like it to reflect the latest data. But the results are not dynamic.

 

Any help is appreciated!!!!

2 answers

On the Setting page you can specify how often ScriptRunner synchronizes your filters.  The default interval is five minutes.  The maximum allowed is an hour.  Recommendation is to use the default value unless you notice that filter synchronization makes too many requests to your JIRA instance and causes performance issues.

NOTE:  New filters are not synchronized on creation by default.  All new filters will be synchronized after the default interval of 5 minutes WHEN the Sync Filter option is selected in the Filter Creation Screen.  If the Sync Filter option is disabled, the filter does not automatically sync and must be manually synced from the Search screen using the Sync Filter button.

image1.png

image2.png

Every X minute, ScriptRunner will check if something has changed in your JIRA issues or someone has changed the ScriptRunner add-on settings recently.  If check is positive, then filters are synced with the changes made to the issues in your JIRA instance.  Filters are always run with the same set of permissions as the user who created the filter.

WARNING:  You must make sure that the ScriptRunner Add-On User has the Global Permission to Browse Users in order for this feature to work.

0 votes
Robert Wen Community Leader Aug 26, 2022

Hi @Dolly Kirubavathi 

You didn't say whether this was for Cloud or Server/DC.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events