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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Writing a story query

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 Community Leader Jan 08, 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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you