Set jira service for project
PUT
/v3/projects/{id}/services/jiraSet jira service for project
请求参数
The URL to the JIRA project which is being linked to this GitLab project, e.g., https://jira.example.com
The short identifier for your JIRA project, all uppercase, e.g., PROJ
The username of the user created to be used with GitLab/JIRA
The password of the user created to be used with GitLab/JIRA
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
Event will be triggered when a commit is created/updated
Event will be triggered when a merge request is created/updated/merged
示例代码
返回响应
Set jira service for project
{}