Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Time tracking to slack

Hi there,

I want to push all information from every time tracking/time logging to a slack channel, but I can't access some values.

Those expressions are working:

  1. timeSpent: {{worklog.timeSpent}}
  2. originalEstimate:{{timetracking.originalEstimate}}

  3. remainingEstimate:{{timetracking.remainingEstimate}}

  4. worklog.issueId: {{worklog.issueId}}

  5. issue.duedate: {{issue.duedate}}

  6. issue.key: {{issue.key}}

  7. issue.summary : {{issue.summary}}

But how can I access those informations:

  1. The person who logged his/her time.
  2. The description from the logged time.

Any hints would be so nice!

Thanks in advance
Dirk

2 answers

Hi,

you can query the Tempo REST API to get the worklog author (Display name or Atlassian accountID) by using a setup from below:

worklog Jira autoamtion.jpg

However I couldn´t figure it out on how to use the response for a follow-up action. Maybe that´s only the paid version? 

BR

1 vote

Hi Dirk,

I believe the description is under: {{worklog.comment}}

There is no documentation for the worklog author, but according to this old question, it should be available under {{worklog.author.<user-field>}} or {{worklog.updateAuthor.<user-field>

Note, if you are using Tempo, the author field will be the app, rather than the user.

Reply does not work... 

Hi Richard,

thank you for your feedback.

This is the output of {{worklog.comment}} :  time-tracking :-) 

And here comes the author: {{worklog.updateAuthor.displayName}} Tempo Timesheets

And yes, we are using tempo... 

Should I contact the tempo-support for that?

Cheers,
Dirk

Hi @Dirk Fehse ,

To get information about the worklog comment and worklog owner, you will need to use the Tempo API's as this information is anonymized when worklogs are created in Tempo and synced to JIRA. 

Information about the Tempo REST API's can be found on https://tempo-io.github.io/tempo-api-docs/

Best regards,
Susanne Götz
Tempo team 

Hi Susanne,

thank you for your feedback. Can you make a short example how to access the tempo-api in the JIRA-Automation? Are there any docs available?

Best regards,
Dirk

Hi @Dirk Fehse ,

Sorry, I was not aware that you are using the new JIRA Automation to do this.

As far as I am aware, all rules that can be created are based on JIRA native functionalities.

You might need to check this directly with Atlassian if it is possible to set up rules to fetch data via an API provided by a 3rd party plugin.

Best regards,
Susanne

Is there any solution for this issue to use in automation? {{worklog.updateAuthor.displayName}} returns "Tempo Timesheets". 

@Dirk Fehse Any progress so far?

Hey @Maarten van der Valk ,

sad but true, but until now, no reaction from @Attlassian Team .

What do you thing we should do?

Best regards,
Dirk

Hi @Dirk Fehse ,

Ok, tnks for the update.

I dont know, I think Tempo should add extra information of the user to the workflow. Maybe they can help us.

Best regards, Maarten

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Apps & Integrations

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

139 views 3 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you