curl--location--request PUT 'https://gitlab.com/api/v3/projects//services/jira' \
--data-urlencode'url=' \
--data-urlencode'project_key='
Response Response Example
{}
Request
Path Params
id
integerÂ
required
Body Params application/x-www-form-urlencoded
url
stringÂ
required
The URL to the JIRA project which is being linked to this GitLab project, e.g., https://jira.example.com
project_key
stringÂ
required
The short identifier for your JIRA project, all uppercase, e.g., PROJ
username
stringÂ
optional
The username of the user created to be used with GitLab/JIRA
password
stringÂ
optional
The password of the user created to be used with GitLab/JIRA
jira_issue_transition_id
integerÂ
optional
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
commit_events
stringÂ
optional
Event will be triggered when a commit is created/updated
merge_request_events
stringÂ
optional
Event will be triggered when a merge request is created/updated/merged