How to capture the timestamp when a ticket changes status, using Workflow Rules
Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.
Summary
Following the steps in this document, you can readily extract timestamp details when the ticket is moved to a specific status.
If you need to… | Use this approach |
See timestamps for status changes that are already recorded on an work item | Open the work item and select History in the Activity section to view timestamps for status changes. |
Record the date and time whenever an work item moves to one specific status | Use the workflow rule procedure below to update a custom Date/Time field with "Use date and time of transition" |
Solution
Jira and Jira Service Management Cloud provide transition timestamps through the work item history. If you only need to review status-change timestamps already available for an work item, use History in the Activity section instead.
When the timestamp must also be recorded in a custom date/time field during a workflow transition, follow the steps below.
These workflow changes require administrative permissions in your Jira site and can have wide-reaching effects. If you do not have the required permissions, contact your Jira administrator before updating the workflow.
Steps:
Create a new custom field of type "Date/Time". You could name this field something like "Close Date".
Go to the workflow associated with your Space work type.
Locate the transition that leads to the specific status. (e.g. Closed status).
Add a rule to this transition. The rule should be of the type "Update a Request Field". Select the "Close Date" field you created earlier, and "Use date and time of transition".
Update the workflow.
Was this helpful?