I am using following documentation and everthing work except "expand" options. Does anyone got this working successfully? Whatever value I supply, property attribute is always an empty array.
Hi @Hana Kučerová , this still does not work for me. As @Leeland Clay asked, is this based on some kind of setting in the system?
And my assumption around expand is that we get the actual values for these work logs (a la carte basis, such as author name, a logged time, issue number, etc), so I don't have to make separate calls to expand the worklog properties. In your example, I don't see those values too.
Documentation is pretty vague and seems incomplete around the expand attribute.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Amrendra Kumar ,
if you want to get worklog details such as author, issue etc., it is neccessary to use REST API endpoint Get worklogs
It is possible, that your worklog properties are empty, because these are custom data, not worklog details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to verify, if I wanted to get additional information, I would need to iterate over the results of the worklogs/list api results and then use the Get Worklogs endpoint for each item. Is that correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Leeland Clay you should be able to send list of worklog ids in one request to Get worklogs endpoint (according to the documentation limit is 1000 worklog ids).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a special configuration needed to make this work? I'm also not able to view any expanded properties. I'm using "/rest/api/3/worklog/updated?expand=properties&since=1645224295000" and I'm getting an empty properties array as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've just been down this path too with expand=properties not adding information.
This page on the issue worklog properties filled in some information on how to fille properties with custom data. I'm not planning to do this.
I reverted to
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.