Hey all,
I'm retrieving issues from a user using the JQL functionality, and while the fields section of the returned issues hold a lot of information, this does not seem to include the worklog?
I'm making some code to do analysis on the time spent on issues by project members, and was getting all issues with work logged by a project member through the JQL query so i can do the processing client side. I can get the work logs of each individual issue, but I wanted to reduce API calls.
Well, yes you will have to make at least 2 calls. Usually the end point rest/api/3/issue/ABC-123 or rest/api/3/issue/ABC-123/worklog will give you worklog but that is for a specific issue not for a list of issues returned by rest/api/3/search?jql=
Ravi
Well, alrighty then.
If that's the method to use, then that is the method to use.
Hope you don't mind a bit more workload on the rest/api/3/issue/ABC-123/worklog endpoint then :-).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.