Forums

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

I want write a JQL that will return the Last created Story

Sakina
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 Leaders.
July 6, 2022

I want write a JQL that will return the Last created Story

2 answers

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
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 Leaders.
July 6, 2022

JQL only finds issues that match criteria, it doesn't look at the issues it returns to do comparisons.

The only way to do what you're asking is to look at the results and sort them by the creation date.  The first one on the list will be the last created one.

For example, you might run JQL like

Project = ABC and issuetype = Story order by created desc

0 votes
Felipe Pazetto July 6, 2022

The keyword you might want to know is issueType

There you're gonna find a lot of different types including Story.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events