I'm writing an automation to log work to a given issue, and then send an email with a link to the work that has just been logged.
Right now, I have it set up with the "Log work" action, and smart values in all the fields. However, I want to get the WorkLogID that will take me to the log I just created, so I can include it in the email. For example, it might include a link to:
https://mydomain.atlassian.net/browse/{{issue.key}}?focusedWorklogId={{worklogid}}
How do I get this?
(Bonus kudos if you can tell me how to change the entity logging the work. Right now, it's just the rule actor, so I can set it to Automation for Jira or myself. I'd like to have the "author" of the work log entry, be determined by a Smart Value. Is this possible?)
Hi @Wolf Elkan
You can get it by using the {{worklog.id}} smart value, however, it's not in the official documentation of Atlassian.
For the bonus question, it's not possible, you can only set a rule with a predefined actor, or the "User who triggered the event", if you wanna log the work in the name of the triggering user.
If you'd like to use a nice app to display the worklogs, you can check out Timetracker.
Hi @Wolf Elkan ,
welcome to the community. Could you please post a screenshot of the rule, so that we can better understand the current setup?
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.