Skip to content
Permalink
Browse files
added functionality for creating top-level issues.
  • Loading branch information
filmaj committed Mar 18, 2013
1 parent ad6259a commit 94a0be8bb67bb81a749431f7e9495fc502bef2c1
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 104 deletions.
@@ -1,6 +1,6 @@
# cordova-jira

> create issues + subtasks in JIRA when cordova changes versions
> create issues + subtasks in JIRA.
## Prerequisites

@@ -12,14 +12,50 @@ You will need [node.js](http://nodejs.org), and `npm` which comes bundled with i

## Usage

./node jira.js --version=<version> --username=<username> --password=<password> [--no_app]
Baseline usage is:

node jira.js --username=<username> --password=<password>

Where:

- `version`: the version string to use. i.e. 2.3.0, 2.4.0rc1, 3.0.0rc2
- `username`: your Apache JIRA username
- `password`: your Apache JIRA password
- `no_app`: if the Hello World application didn't change since the last release, use this option to omit creating tasks for updating the sample application in each platform implementation.

### Creating Tasks for Tagging a Release

To create an issue for tagging a new release of cordova, use the jira.js script in the following form:

node jira.js --username=<username> --pasword=<password> --version=<version> [--no_app]

Where:

- `version`: if specified, will create the issues + subtasks necessary for tagging a new version. this specifies the version string to use. i.e. 2.3.0, 2.4.0rc1, 3.0.0rc2
- `no_app`: used in conjunction with `version`, if the Hello World application didn't change since the last release, use this option to omit creating tasks for updating the sample application in each platform implementation.

### Create a Top-Level Issue

To create an issue with subtasks for platforms, docs, and tests (for new API additions, cross-platform features, that kind of stuff), use the jira script in the following form:

node jira.js --username=<username> --pasword=<password> --summary="summary text" --description="description text" [--platforms="<platform>,<platform>"]

Where:

- `summary`: a summary title for the issue (remember to use quotes so spaces get interpreted properly)
- `description`: a description for the issue (remember to use quotes so spaces get interpreted properly)
- `platforms`: a comma-delimited list of applicable platforms. acceptable entries here are (NOTE: case sensitive!):
- Android
- iOS
- BlackBerry
- WP7
- WP8
- Windows8
- Bada
- Qt
- Tizen
- webOS
- FireFoxOS

If no `platforms` are specified explicitly, the "core" platforms will be included in an issue (Android, iOS, BlackBerry, Windows Phone 7 + 8, Windows 8, FirefoxOS).

## Contributors

0 comments on commit 94a0be8

Please sign in to comment.