Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
POST http://localhost:2990/jira/rest/api/2/issue/bulk
Authorization: Basic username password
content-type: application/json

{
  "issueUpdates": [
    {
      "fields": {
        "project":
        {
          "id": "10201"
        },
        "summary": "No REST for the Wicked.",
        "description": "Creating of an issue using IDs for projects and issue types using the REST API",
        "issuetype": {
          "id": "10000"
        },
        "customfield_10029": [
          {
            "value": "1"
          },
          {
            "value": "1.1"
          },
          {
            "value": "1.1.1"
          },
          {
            "value": "1.1.1.1"
          }
        ]
      }
    },
    {
      "update": {},
      "fields": {
        "project":
        {
          "id": "10201"
        },
        "summary": "No REST for the Wicked.",
        "description": "Creating of an issue using IDs for projects and issue types using the REST API",
        "issuetype": {
          "id": "10000"
        },
        "customfield_10029": [
          {
            "value": "2"
          },
          {
            "value": "2.1"
          }
        ]
      }
    },
    {
      "update": {},
      "fields": {
        "project":
        {
          "id": "10201"
        },
        "summary": "No REST for the Wicked.",
        "description": "Creating of an issue using IDs for projects and issue types using the REST API",
        "issuetype": {
          "id": "10000"
        },
        "customfield_10029": [
          {
            "value": "3"
          },
          {
            "value": "3.1"
          }
        ]
      }
    }
  ]
}

...