Versions Compared

Key

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

...

You can create issues even if you do not have administrator permissions.

If you prefer, instead of using the value of the options as in the example, you can set the custom field MLCS options from the ID.

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"
          }
        ]
      }
    }
  ]
}

...