Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-81005

Enhance the bulk issue creation API to allow created issues to be mapped back to issue creation requests

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The bulk issue create API, /rest/api/3/issue/bulk, does not allow the issue data returned in the response to be mapped to the issue creation data in the request. Whilst developers could assume the order of the issue response data matches the order of request data, it is possible that some issues will fail to get created so simply associating items in the arrays would not work.

      The API could be enhanced with an additional field in each request that is also returned in each response so that they can be mapped to each other. For example:

      For example, the `requestId` field in the following pseudo request/response would serve as a field for mapping responses to requests.:

      issueRequestData: 
      [{
        summary: 'foo',
        requestId: 'uuid-a'
      }, {
        summary: 'bar',
        requestId: 'uuid-b'
      }]
      issueResponseData: [{
        id: '10001',
        key: 'ED-24',
        requestId: 'uuid-a'
      }, {
        id: '10002',
        key: 'ED-25',
        requestId: 'uuid-b'
      }]
      
      

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmorrow@atlassian.com Dugald Morrow
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: