Forums

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

How can I retroactively set Issue Start Date to the Earliest Work Logged Date in Jira Cloud.

Jon Platt
Contributor
July 16, 2025

Hi. I'm trying to use automation in Jira Cloud to set the Start Date of issues (work items) to the date and time that work was first logged against the issue.

This is easy if work has never been logged because I can use Start Date = {{worklog.started}}.

How do I do this retroactively for existing issues that already have work logged? I've tried using {{#issue.worklog.sortBy("started").first.started.jiraDate}} and {{#lookupIssues.first.worklog.sortBy("started").first.started.jiraDate}} but no value is returned.

I've read that worklog lookups are not supported in automation for Jira Cloud. Any other ideas? Thanks in advance?

2 answers

1 accepted

5 votes
Answer accepted
Bill Sheboy
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 16, 2025

Hi @Jon Platt 

For a single work item, please try this value for the earliest started date / time in the worklogs:

{{issue.worklogs.started.min}}

As that is a date / time and Start Date field is a date only, please add the jiraDate format to the end to set the field in the correct format:

{{issue.worklogs.started.min.jiraDate}}

 

Kind regards,
Bill

Jon Platt
Contributor
July 16, 2025

Excellent! That works perfectly. Thank you! Screenshot to help others with the same question:


Set Start Date.png

Like # people like this
0 votes
Trudy Claspill
Community Champion
July 16, 2025

Hello @Jon Platt 

Can you please share with us images of your entire automation rule?

Can you please share the details from the Audit Log for execution of the rule?

How are you triggering the rule? How are you selecting the issues you want to update?

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events