Commit 25ecbf56 authored by Marin Jankovski's avatar Marin Jankovski

Update the jira integration doc.

parent c7f610d7
...@@ -15,7 +15,7 @@ For example, let's create user `gitlab`. We've also added `gitlab` user to group ...@@ -15,7 +15,7 @@ For example, let's create user `gitlab`. We've also added `gitlab` user to group
In `gitlab.yml` enable [JIRA issue tracker section by uncommenting the lines](https://gitlab.com/subscribers/gitlab-ee/blob/6-8-stable-ee/config/gitlab.yml.example#L111-115). In `gitlab.yml` enable [JIRA issue tracker section by uncommenting the lines](https://gitlab.com/subscribers/gitlab-ee/blob/6-8-stable-ee/config/gitlab.yml.example#L111-115).
This will make sure that all issues within GitLab are pointing to the JIRA issue tracker. This will make sure that all issues within GitLab are pointing to the JIRA issue tracker.
We can also enable JIRA service that will allow us to interact with JIRA issues. We can also enable JIRA service that will allow us to interact with JIRA issues.
For example, we can close issues in JIRA by a commit in GitLab. For example, we can close issues in JIRA by a commit in GitLab.
...@@ -25,14 +25,17 @@ Go to project settings page and fill in the project name for the JIRA project: ...@@ -25,14 +25,17 @@ Go to project settings page and fill in the project name for the JIRA project:
Next, go to the services page and find JIRA. Next, go to the services page and find JIRA.
![Jira services page](jira_service.png)
1. Tick the active check box to enable the service. 1. Tick the active check box to enable the service.
1. Supply the url to JIRA server, for example http://jira.sample 1. Supply the url to JIRA server, for example http://jira.sample
1. Supply the username of a user we created under `Configuring JIRA` section, for example `gitlab` 1. Supply the username of a user we created under `Configuring JIRA` section, for example `gitlab`
1. Supply the password of the user 1. Supply the password of the user
1. Optional: supply the JIRA api version, default is version 2 1. Optional: supply the JIRA api version, default is version
1. Optional: supply the JIRA issue transition ID (issue transition to closed). This is dependant on JIRA settings, default is 2
1. Save 1. Save
Now we should be able to interact with JIRA issues, for example we can close a JIRA issue by commiting to our GitLab repository and referencing the JIRA issue( in the format of JIRAPROJECT-123). Now we should be able to interact with JIRA issues, for example we can close a JIRA issue by commiting to our GitLab repository and referencing the JIRA issue( in the format of JIRAPROJECT-123).
For example, for project named NEW we commit with a commit message `Add new file fixes NEW-1`: For example, for project named NEW we commit with a commit message `Add new file fixes NEW-1`:
......
doc/integration/jira_service.png

34.1 KB | W: | H:

doc/integration/jira_service.png

57.7 KB | W: | H:

doc/integration/jira_service.png
doc/integration/jira_service.png
doc/integration/jira_service.png
doc/integration/jira_service.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment