forked from jeremy/github-services
/
jira
40 lines (29 loc) · 1.12 KB
/
jira
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Jira
========
This service hook allows you to transition Jira tickets using the REST API available in
version 4.2+ of Jira. To interact with tickets in Jira you will need to place markup
similar to Lighthouse's in your commit message.
Fixed an annoying bug [#WEB-210 transition:31 resolution:1]
This will perform transition 31 with a resolution code of 1 on the issue WEB-210. You can specify
any key value pair with the `key:value` notation, but at the very least transition must be present.
NOTE: As of 2.0.alpha1, the REST API will not automatically interpret strings into integers and vice
versa.
Install Notes
-------------
A user in Jira will need to be created for GitHub. It should be given full
access to all projects.
Using the following url as an example:
http://jira.enmasse.com/rest/2.0.alpha1/issue/WEB-249
1. http://jira.enmasse.com is the server_hostname
2. 2.0.alpha1 is the api_version
3. username of the GitHub user in Jira
4. password of the GitHub user in Jira
Developer Notes
---------------
data
- server_hostname
- api_version
- username
- password
payload
- refer to docs/github_payload