The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jack Brickey
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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events