Hi,
I need a little help, I need to retrieve the Date Started value when anyone logs the work on any issue using the Time Tracking field.
I need to retrieve via automation rule like we can access the time spent by using the smart value {{{worklog.timeSpentSeconds}}.
Hi @Muhammad Moazzam Hassan You have to use this smartvalue :
{{worklog.started}} to get worklog date.
You are great,
Even Atlassian Support unable to answer this easy question
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have one more question, if you may answer.
Can we retrieve the old value of Time Spent and Date Started if someone Edit the worklog and change the timespent and Date Started?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Muhammad Moazzam Hassan Glad to hear I am able to help you!
I am not sure any smart value can retrieve old value for worklog. For other field we can get old value using changelog, but for worklog it won't work. You can use REST API to get worklog initially create date and current date.
https://abc.atlassian.net/rest/api/3/issue/{{issueId}}/worklog/{{worklogid}}
Used with: the Work logged trigger
Accesses information for a worklog entry that has just been logged against an issue.
{{worklog.comment}}
{{worklog.started}}
{{worklog.timeSpentSeconds}}
{{worklog.timeSpent}}
{{worklog.visibility}} - available when the worklog is restricted
{{worklog.visibility.type}} - available when the worklog is restricted
{{worklog.visibility.value}} - available when the worklog is restricted
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.