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

Replace Script Runner 'Sprint Name' Value?

Kevin Comco March 30, 2022

I'm using the ScriptRunner functions completeInSprint, incompleteInSprint, removedAfterSprintStart, and addedAfterSprintStart together in order to determine the items that were committed to, completed, incomplete, added and incomplete during a sprint.  Each function takes as inputs the Board Name and (optional) Sprint Name.  

For example - committed stories can be found by: (issueFunction in completeInSprint("Board", "SprintName") OR issueFunction in incompleteInSprint("Board", "SprintName") OR issueFunction in removedAfterSprintStart("Board", "SprintName")) AND issueFunction not in addedAfterSprintStart("Board", "SprintName")

* Note the first three expressions are grouped together.

Anyway, as you can tell, the Board and SprintName are repeated numerous times.  I'd like to be able to 'import' those values similar to being able to use a function='fName' or via a text replace, or something like that within the JQL.  

Any thoughts?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events