Skip to content

Commit 2835828

Browse files
author
Lakshmi Kannan
committed
Fix: Improve README.md
1 parent db90e02 commit 2835828

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

contrib/sandbox/packages/jira/README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff 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
127
## Disclaimer
228
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.
329

@@ -17,5 +43,5 @@ This documentation is written as of 06/17/2014. JIRA 6.3 implements OAuth1. Most
1743
* Go to AppLinks section of your JIRA - https://JIRA_SERVER/plugins/servlet/applinks/listApplicationLinks
1844
* Create a Generic Application with some fake URL
1945
* 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.
2147
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

Comments
 (0)