smart value to solve the person that regist ours to an issue

Erika Pranka September 26, 2024

I have the ours registred, but ican't find how to solve the user that put that our.

I need an automatation

1 answer

1 vote
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.
September 26, 2024

Hi @Erika Pranka 

If I understand your question, you want to identify the user who logged work for an issue using an automation rule.

When the rule is triggered on Work Logged, the person doing so would be this smart value:

user who logged this work: {{worklog.updateAuthor.displayName}}

If instead you have an issue which has work logged, you may list the users who did so like this:

all users who logged work on the issue: {{issue.worklogs.updateAuthor.displayName}}

Kind regards,
Bill

Erika Pranka September 26, 2024

Thanks,

it's ok, but it didn't work. I read also in ChatGPT that it would works. 

I proved this ways but didnt work:

 
1
{{worklog.visibility.type}}
2
{{worklog.Author.displayName}}
3
{{issue.worklogs.Author.displayName}}
4
{{worklog.displayName}}
5
{{displayName }}
6
{{worklog.displayName}}
{{issue.displayName}}
{{worklogs.displayName}}
{{issue.worklogs.displayName}}
{{displayName}}
 
, and the results are:
2
Tempo Timesheets
3
Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets, Tempo Timesheets:
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.
September 26, 2024

First thing, I recommend not using any bots to answer questions for Jira automation rules.  Unless you enter all of the context / configuration info for your Jira instance, any suggestions provided may lead you to waste time trying things that could not possibly work for your own Jira site.

Instead it is better to learn the fundamentals of writing rules and how to diagnose problems with them as you will already know how your site / project are configured.  Thus you can observe cause / effect faster than a bot.

 

Back to your question, please post the following to provide more context:

  • what type of project are you using: company-managed or team-managed,
  • an image of your complete automation rule,
  • an image where you are trying to access the worklog author, and
  • an image of the audit log details showing the rule execution.

 

Deleted user September 26, 2024

 

Thanks Bill, I answer bellow each question:

 

  • what type of project are you using: company-managed or team-managed
    • company-managed
  • an image of your complete automation rule,
  • print.pngan image where you are trying to access the worklog author, and
  • 2.jpg
  • an image of the audit log details showing the rule execution.
  • 4.png3.png
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.
September 26, 2024

Thanks for that additional information, Erika.

You are using Tempo Timesheets, and I do not have experience with that product.  My understanding is the rule will need to call the Tempo REST API to get the data you want using the Send Web Request action.

Please see this documentation page from Tempo for more information on this technique: https://tempo-io.atlassian.net/wiki/spaces/KB/pages/3050340390/Add+worklog+description+and+time+spent+as+comment+to+the+issue

Suggest an answer

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

Atlassian Community Events