Hi! Some time ago we’ve noticed that Issue Types had started to have “duplicates” - the issue types with the same name and avatar, but different IDs. These “duplicates” seem to be project-scoped:
/rest/api/2/issuetype
[
{
"self": "https:\/\/....atlassian.net\/rest\/api\/2\/issuetype\/10100",
"id": "10100",
"description": "A user story. Created by JIRA Software - do not edit or delete.",
"iconUrl": "https:\/\/....atlassian.net\/...&avatarType=issuetype",
"name": "Story",
"subtask": false,
"avatarId": 10315
},
{
"self": "https:\/\/....atlassian.net\/rest\/api\/2\/issuetype\/10207",
"id": "10207",
"description": "Stories track functionality or features expressed as user goals.",
"iconUrl": "https:\/\/....atlassian.net\/...&avatarType=issuetype",
"name": "Story",
"subtask": false,
"avatarId": 10315,
"scope": {
"type": "PROJECT",
"project": {
"id": "10406"
}
}
},
{
"self": "https:\/\/....atlassian.net\/rest\/api\/2\/issuetype\/10200",
"id": "10200",
"description": "Stories track functionality or features expressed as user goals.",
"iconUrl": "https:\/\/....atlassian.net\/...&avatarType=issuetype",
"name": "Story",
"subtask": false,
"avatarId": 10315,
"scope": {
"type": "PROJECT",
"project": {
"id": "10402"
}
}
},
When going to the Jira Issue Types page, however, I can’t see any duplicates there (Jira settings -> Issues -> Issue types).
The problem is, in our Connect Descriptor we use issue type IDs to understand the current context: ?id={issuetype.id}
And it seems that Jira now sends those “scoped”/“duplicated” IDs, so we can’t correspond these arbitrary IDs to their “generic” type.
Given the example above, Jira may send an issue type ID “10200” or “10207”, and it would be a “Story”, which on the Issue Types page is represented as ID “10100”. This makes working with issue types context seemingly impossible.
Could you please clarify:
- what is this change, how it is planned to unfold and what is the final goal of it?
- how can we work with the issue type context now that every new project seemingly has its own set of Issue Type IDs?
Thank you!