Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-36716

worklog expand not working for REST search API

XMLWordPrintable

    • Icon: Support Request Support Request
    • Resolution: Answered
    • Icon: Low Low
    • None
    • None
    • REST API
    • None

      Hello,

      Worklog details for a specific issue can be obtained from /rest/api/latest/issue/59022/worklog however it can't be obtained from the search API. The call /rest/api/2/search?jql=createdDate > "2014/1/1"&expand=worklog does not work as I would have expected. No worklog information will be returned.

      Please my apologies if this is to be considered a feature request instead in which case feel free to change it to bug.

      It would be great if JIRA REST API would return more detailed information for all bugs contained in a JQL. The "expand" parameter works with custom fields but I can't figure how to expand the worklog. Getting the results of the JQL and iterating one issue at a time to get the worklog details is overkilling.

      I know you can do this with paid plugins but such functionality I believe should be provided out of the box.

      Thanks,

      • Nestor

              Unassigned Unassigned
              206fe5f45714 Nestor Urquiza
              Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h