Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,107
Community Members
 
Community Events
168
Community Groups

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

3 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

Moin Moin @Susanne Götz _Tempo_ ,

is there a new posibility for that problem?

Best regards from Karlsruhe

Dirk

Suggest an answer

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

Atlassian Community Events