Wie kann ich abrufen, Fragen des besonderen status, der mit JQL

Eingabe einer url oder die Ausführung mit curl, wie:

https://<myurl>/rest/api/2/search?jql=project=<myproject>&status=closed&fields=id,key,status,project&maxResults=5

gibt mir 5 Artikel in meinem Projekt, aber mit allen Status. Aus irgendeinem Grund kann ich keine Abfrage für einen bestimmten status.

Die Ausgabe (ein Teil davon) ist:

{
  "expand": "schema,names",
  "startAt": 0,
  "maxResults": 5,
  "total": 727,
  "issues": [
    {
      "expand": "editmeta,renderedFields,transitions,changelog,operations",
      "id": "79577",
      "self": "https://<myurl>/rest/api/2/issue/79577",
      "key": "<myproject>-774",
      "fields": {
        "project": {
          "self": "https://<myurl>/rest/api/2/project/<myproject>",
          "id": "14421",
          "key": "<myproject>",
          "name": "<myproject>",
          "avatarUrls": {
            (...)
          }
        },
        "status": {
          "self": "<myurl>/rest/api/2/status/1",
          "description": "The issue is open and ready for the assignee to start work on it.",
          "iconUrl": "https://<myurl>/images/icons/statuses/open.png",
          "name": "Open",
          "id": "1"
        }
      }
    },(...)
  ]
}

Wie die Abfrage für einen bestimmten status? Vielen Dank.

InformationsquelleAutor TomaszRykala | 2013-07-31

Schreibe einen Kommentar