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

worklog expand not working for REST search API

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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