My board typically has JQL that selects all issues from the project. For example:
project = SP
However, my team sometimes needs to work on tickets from other projects. Instead of creating a duplicate ticket in the project SP linked to the original ticket in another project, I want to put a ticket from another project in an SP sprint. To display such ticket, the query I want to use for my board is something like:
project = SP or sprint in SP.openSprints() //does not work
Note that this is NOT the same as:
project = SP or sprint in openSprints()
Since the latter returns issues in ALL openSprints across all projects. The following does not work either:
project = SP or (sprint in OpenSprints() and Project = SP)
As it only returns tickets for the SP project.
ScriptRunner has a function called nextSprint("board"), but it does not seem to have a function for openSprint("board").
Any suggestions?
Thanks!
Hey @Alex Paransky ,
Good day, Welcome to Atlassian community,
Why not use a unique labels (or field) in tickets of another project that your team needs to work on and then use that in your filter.
For e.g. for all the tickets of another project that your team needs to work on update label as SP
Now your board filter should be
project = SP or (sprint in OpenSprints() and labels = SP)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.