Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JIRA Scriptrunner LastUpdated function

The documentation of LastUpdated says that it can have action on state changes as well. Any idea how to use this action to check the date when an issue was moved to particular state e.g. In Progress?


issueFunction in lastUpdated('inRole Administrators')

Last updated comprises the following actions:

  • edits

  • state changes

  • adding/removing links, labels etc

  • commenting

2 answers

0 votes

The JQL function LastUpdated searches issues that where last updated by people with name, in a group or in a role.

To find issues that were transitioned by anyone this JQL function is not needed.

status CHANGED TO 'In Progress' BEFORE endOfMonth(-1M) AFTER startOfMonth(-1M)

 Please mention that this change is not necessary the last change.

Getting issue while using the below query

 issueFunction in lastUpdated("by arichter before startOfMonth()")

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

190 views 1 6
Read article

Atlassian Community Events