Forums

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

Writing a story query

Robert Hilgeman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2020

Greetings!  I would like to know the proper "syntax" to write a query in "Search Boards" which can pull up "historical" (Agile) stories (example: 2018-2019 stories).  Footnote: The JIRA default view is only active and future iterations/sprints in the current year.

I believe the query is something similar to:

team = (team name) and issuetype = story

 

Thank you for the help!

 

1 answer

0 votes
Jack Brickey
Community Champion
January 8, 2020

Hi Robert and welcome to the Community. So are you asking how to query (JQL) for all stories associated w/ previous sprints, i.e. non-active sprints?

You could use this...

issuetype = story and Sprint is not EMPTY and sprint in closedSprints()

you can further qualify to add resolutiondate to cover a specific period.

BTW, I don't know what "team" is here but suspect it is a custom field and you can certainly incorporate into the query.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events