README.md in danger-yajp-0.1.1 vs README.md in danger-yajp-0.1.2
- old
+ new
@@ -16,15 +16,15 @@
gem 'danger-yajp'
```
## Usage
-You first need to define the environment variables `DANGER_JIRA_URL`, `DANGER_JIRA_USER` and `DANGER_JIRA_PASSWORD` in your CI environment, for example:
+You first need to define the environment variables `DANGER_JIRA_URL`, `DANGER_JIRA_USER` and `DANGER_JIRA_API_TOKEN` in your CI environment, for example:
```
DANGER_JIRA_URL: https://jira.company.com/jira
DANGER_JIRA_USER: username
-DANGER_JIRA_PASSWORD: abcd12345
+DANGER_JIRA_API_TOKEN: abcd12345
```
### Find issues
This methode returns an array of Jira issues. All the base fields of each issue are directly accessible thanks to the gem `jira-ruby`. Input can be one project key, or an array of project keys.
\ No newline at end of file