I would like to understand why the following Gitlab <-> Jira integration does not work. What I mean by "not working" is that tickets in "In Progress" or "In Review" state do no transition to "Done" when Gitlab Merge request referencing them (using Closes JIRA-TICKET-ID) is merged.
The Gitlab integration is setup so that "Transition Jira issues to their final state: Move to Done" see figure below:
The tickets are bound to this specific workflow:
Looking through https://yourcompany.atlassian.net/rest/api/2/issue/ISSUE-123/transitions
on the specific ticket for which the transition did not automatically happen after corresponding merge request had been merged shows:
{
"expand": "transitions",
"transitions": [
...
{
"id": "141",
"name": "Resolve",
"to": {
"name": "Done",
"statusCategory": {
"name": "Done"
}
},
...
},
{
"id": "171",
"name": "Close",
"to": {
"name": "Closed",
"statusCategory": {
"name": "Done"
}
},
...
}
...
]
}
I really do not understand why the transition did not happen - "Resolve" (id: 141) transition is to "Done" (green, statusCategory "Done")... according to all documentation available and what is written specifically in Gitlab, it should have happened.
Did anyone have experience with similar, ideally same situation, and was able to solve it?