Forums

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

Jira scriptrunner JQL

sravani vennapusa August 13, 2025

When i'm trying to Use scriptrunner enhanced search

issueFunction in addedAfterSprintStart("Board name")

it is not returning any results. what might be the reason?

2 answers

1 vote
Trudy Claspill
Community Champion
August 13, 2025

Hello @sravani vennapusa 

Is ScriptRunner Enhanced Search newly installed in your environment?

Do you have a single active sprint on that board? Or do you have multiple active sprints in that board?

The function reports only on active sprints. And, as per the documentation:

  • Sprint (Optional): The specific sprint to query. This can be the sprint name or ID. If using an ID, it should not be enclosed in quotes. If omitted, the function defaults to the current active sprint, unless there are multiple active sprints, in which case it is required to specify a particular sprint.

sravani vennapusa August 13, 2025

I have multiple active active sprints.

Trudy Claspill
Community Champion
August 13, 2025

Then, as per the documentation, you will have to include in the function parameters a specific sprint for which you want results.

  • Sprint (Optional): The specific sprint to query. This can be the sprint name or ID. If using an ID, it should not be enclosed in quotes. If omitted, the function defaults to the current active sprint, unless there are multiple active sprints, in which case it is required to specify a particular sprint.

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2025

HI @sravani vennapusa 

Is the synchronisation done within the app, see https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/scriptrunner-enhanced-search-jql-keywords-synchronization 

this is a requirement to be done to return results, check this with your Jira admin.

Also is the referenced board in the JQL a scum board?

Otherwise if you can't find a solution, reach out to Scriptrunner support

sravani vennapusa August 13, 2025

yes, it is a scrum board.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2025

Hi @sravani vennapusa 

Then has the synchronisation been enabled and as mentioned by @Trudy Claspill is the board spanning sprints from multiple or a single project?

Suggest an answer

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

Atlassian Community Events