Im trying to get the 'account' field value, which is the customer name from a call such:
https://<company name>.atlassian.net/rest/api/2/issue/<jira ticket id>/worklog/<worklog id>
The response doesn't contain any data regarding the account, but it does populate within the worklog UI itself.
Hi Chen,
The API you are using is a JIRA API, not the Tempo API.
As worklogs made in Tempo are synced back to the JIRA database as "Tempo Timesheets" (which is a system user, no "real" JIRA user) the user information can not be retrieved with the JIRA API.
Information about the Tempo API's for Cloud can be found on https://tempo-io.github.io/tempo-api-docs
Regards,
Susanne Götz
Tempo team
Thank you!
so there is no way to connect between jira ticket and the account reported By the system user for this ticket?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, not if the worklog was created in Tempo. For these worklogs, only the Tempo API will return the worklog owner.
If the worklog was created in JIRA, it gets synced back to Tempo, including the information about the user who owns the worklog. For these worklogs you can retrieve the information with the JIRA API and the Tempo API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again.
Not sure what im missing bug im trying to get data of the following field - the one with the error. Tried few of the calls under 'workloads', can't see this field. is it count as a custom field?
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.
Hi Chen,
the Account field in your screenshot is a Tempo work attribute. This field can be used to link the worklog to a different Account than the one that is set in the Account custom field on the Issue.
The dropdown for this field shows the Accounts that are linked to the Project. When logging work, you can select an Account that the worklog should be linked to.
The information for this field in shown in the "attributes" section when using the REST API
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.