JQL query to return the last modified issues

Defny February 5, 2018

Hello All,

Need your help.

I want to create a JQL query which will return the last modified issue.

For ex: user1 creates Issue1 and Issue 2
user2 modify the Issue1, 
if the user1 connect and run the jql, only the Issue1 shall be reported.

The jql shall be based on the currentuser connected

Thank you in advance.

1 answer

0 votes
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2018

Dear @Defny,

unfortunately, there is no function called "last()".

But you can do following:

  1. create a query for your project or projects that is ordered by creation date (descending) - and save
  2. got to the dashboard and add the Result Filter Gadget
  3. select your new filter
  4. enter '1' in the 'Number of Results' field - save

Now, whenever you reload the gadget, the last created issue is displayed.

So long

Thomas

Defny February 6, 2018

Hi Thomas,

Thank you very much for your input. 

I want the last modified issue not the last created issue. Could you help with the last modified issue.

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2018

Easy, instead of sorting for createDate, sort for updateDate.

Defny February 6, 2018

This will return all the issues created. But i need only the issues created by me.

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2018

Dear @Defny,

then you have to add

AND reporter = currentUser()

to your JQL.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events