Jira Automation - Log Work - Specify User

Zac Wolff December 21, 2022

Jira Cloud

Jira Automation

Log Work ("action" component)

The Log Work component logs time as the "Automation for Jira" user

This is not ideal for reporting

Would like to be able to log time as the Issue Assignee {{issue.assignee.accountId}}

Did a search and found a community question -> https://community.atlassian.com/t5/Jira-Service-Management/Log-work-for-user-with-automation-rule/qaq-p/1127851

That referenced an improvement -> https://codebarrel.atlassian.net/browse/AUT-56

That referenced a new feature -> https://ecosystem.atlassian.net/browse/AC-1080

All of those ^ are years outdated.

Requesting an update and/or links to the proper improvement, feature request, etc.

A solution would be even better (but I don't think that is likely)

2 answers

1 accepted

2 votes
Answer accepted
Sherry Goyal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 27, 2022

Hello @Zac Wolff

If you want to log work always against a fixed user 'Zac Wolff', then set the actor to 'Zac Wolff'. See this for help.

Automation does not have the capability to log work on behalf of someone else like the issue creator, reporter, etc. We have improvement logged here.

At the max, to dynamically set the actor you can do is set the 'Actor' as the one who triggered the event but that would mean it can be logged as a non-assignee user as well. 

Apologies for not being able to give you any elegant solution for this.

Thanks,
Sherry

1 vote
Patrik Korovsky
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.
December 22, 2022

Hi Zac,

I'm not sure what your goal is, but I think it might suit you:

log_time.png

  • We set the Actor as the one who triggered the event, this allows us to find the assignee and not set it specifically to one user
  • We set a condition so that the user is the assignee

Of course you have to find a good trigger and conditions. If you share what you are trying to achieve, I may be able to help you configure it properly.

Zac Wolff December 27, 2022

log_time_2.png

  1. Opsgenie acknowledgement creates a comment
  2. Jira Automation is triggered on all comments
  3. If/Else loop to look at what the comments contain
  4. Actions happen

I am specifically interested in Log Work

  • Currently it logs 3m as 'Automation for Jira'
  • Would like it to log 3m as 'Zac Wolff'

(Openly admit that this is not the most elegant Jira Automation)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events