diff --git a/changelogs/unreleased/55109-jira-integration-api-doesn-t-respect-available-format.yml b/changelogs/unreleased/55109-jira-integration-api-doesn-t-respect-available-format.yml new file mode 100644 index 00000000000..c58cdc19555 --- /dev/null +++ b/changelogs/unreleased/55109-jira-integration-api-doesn-t-respect-available-format.yml @@ -0,0 +1,5 @@ +--- +title: 'API: Support Jira transition ID as string' +merge_request: 24400 +author: Robert Schilling +type: fixed diff --git a/lib/api/services.rb b/lib/api/services.rb index 637b5a8a89a..e83d7c944e4 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -468,7 +468,7 @@ module API { required: false, name: :jira_issue_transition_id, - type: Integer, + type: String, desc: 'The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (**Administration > Issues > Workflows**) by selecting **View** under **Operations** of the desired workflow of your project. The ID of each state can be found inside the parenthesis of each transition name under the **Transitions (id)** column ([see screenshot][trans]). By default, this ID is set to `2`' } ],