Jira REST request
https://<domain>.atlassian.net/rest/api/2/status
returns duplicates with the same names and different IDs, e.g.:
{
"self": "https://<domain>.atlassian.net/rest/api/2/status/10401",
"description": "This was auto-generated by Jira Service Management during workflow import",
"iconUrl": "https://<domain>.atlassian.net/images/icons/statuses/generic.png",
"name": "Declined",
"untranslatedName": "Declined",
"id": "10401",
"statusCategory": {
"self": "https://<domain>.atlassian.net/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
{
"self": "https://<domain>.atlassian.net/rest/api/2/status/10384",
"description": "This was auto-generated by Jira Service Management during workflow import",
"iconUrl": "https://<domain>.atlassian.net/images/icons/statuses/generic.png",
"name": "Declined",
"untranslatedName": "Declined",
"id": "10384",
"statusCategory": {
"self": "https://<domain>.atlassian.net/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
although in the browser I can see only one 'Declined' with ID:10401.
The question: If it is OK when how can I filter REST response?