You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/sandbox/packages/jira/README.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,29 @@
1
+
# JIRA integration
2
+
This pack consists of a sample JIRA sensor and a JIRA action.
3
+
4
+
## JIRA sensor
5
+
The sensor monitors for new projects and sends a trigger into the system whenever there is a new project.
6
+
7
+
## JIRA action
8
+
The action script allows you to create a JIRA issue.
9
+
10
+
## Requirements
11
+
To use either of the sensor or action, following are the dependencies:
12
+
13
+
1. Python 2.7 or later. (Might work with 2.6. Not tested.)
14
+
2. pip install jira # installs python JIRA client
15
+
16
+
## Configuration
17
+
Sensor and action come with a json configuration file (jira_config.json). You'll need to configure the following:
18
+
19
+
1. JIRA server
20
+
2. OAuth token
21
+
3. OAuth secret
22
+
4. Consumer key
23
+
24
+
To get these OAuth credentials, take a look at OAuth section.
25
+
26
+
## OAuth
1
27
## Disclaimer
2
28
This documentation is written as of 06/17/2014. JIRA 6.3 implements OAuth1. Most of this doc would need to be revised when JIRA switches to OAuth2.
3
29
@@ -17,5 +43,5 @@ This documentation is written as of 06/17/2014. JIRA 6.3 implements OAuth1. Most
17
43
* Go to AppLinks section of your JIRA - https://JIRA_SERVER/plugins/servlet/applinks/listApplicationLinks
18
44
* Create a Generic Application with some fake URL
19
45
* Click Edit, hit IncomingAuthentication. Plug in the consumer key and RSA public key you generated.
20
-
4. Get access token using this [script](https://github.com/lakshmi-kannan/jira-oauth-access-token-generator/blob/master/generate_access_token.py)
46
+
4. Get access token using this [script](https://github.com/lakshmi-kannan/jira-oauth-access-token-generator/blob/master/generate_access_token.py). These are the ones that are printed at the last. Save these keys somewhere safe.
21
47
5. Plug in the access token and access secret into the sensor or action. You are good to make JIRA calls. Note: OAuth token expires. You'll have to repeat the process based on the expiry date.
0 commit comments