Jira cloud rest api call (get worklogs by issue) returns only the text "time-tracking" in the content field

Hey Atlassians,

my company switched from jira server to jira cloud.
We are using an invoice-api that i had developed for getting the worklog informations and use them to generate our bills.

After i modified the code for jira cloud i am getting just the string “time-tracking” (content field) in my api response no matter which Issue or project or which user-credentials are used. (even if i use my own credentials for requesting my own worklogs)

i did everything as it is explained in the official api documentation

( https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-rest-api-3-issue-issueidorkey-worklog-get )

i get the same result with postman

in the example of the documentation (code snippet - line 29) it`s the native worklog text ( “I did some work here.”)

my response:

Can you tell me what kind of setting in jira cloud i have to change to get the real worklog text?

I am pretty sure that the request is okay.

Hey @JanZimmermann
I recommend you to use https://support.atlassian.com/ and create a ticket for your issue.

Szymon Rekawek