npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gh-jira

v1.0.7

Published

NodeGH plugin for integrating Jira, an issue management system

Downloads

67

Readme

GH Jira

NPM version NPM downloads Build Status Dependencies Status DevDependencies Status

NodeGH plugin for integrating Jira, an issue management system.

Maintained by Eduardo Lundgren.

Install

[sudo] npm install -g gh gh-jira

Usage

gh jira

Alias: gh ji

1. Create

| Option | Usage | Type | | ------------------- | ------------ | --------- | | -N, --new | Required | Boolean | | -p, --project | Required | String | | -t, --title | Required | String | | -A, --assignee | Optional | String | | -C, --component | Optional | String | | -m, --message | Optional | String | | -P, --priority | Optional | String | | -R, --reporter | Optional | String | | -T, --type | Optional | String | | -v, --version | Optional | String |

Examples

  • Create a new issue on a certain project.

    gh jira --new --project LPS --title 'Node GH rocks!' --message 'Body with **Markdown** support'
  • Create a new issue specifying the component.

    gh jira --new --project LPS --title 'Node GH rocks!' --component UI
  • Create a new, unassigned, issue.

    gh jira --new --project LPS --title 'Node GH rocks!' --unassigned
  • Create a new issue and assign it to someone.

    gh jira --new --project LPS --title 'Node GH rocks!' --assignee eduardolundgren

2. Comment

| Option | Usage | Type | | ----------------- | ------------ | -------- | | -c, --comment | Required | String | | -n, --number | Required | Number |

Omitting --number will guess issue number from the last commit message.

Examples

  • Comment on an issue.

    gh jira LPS-123 --comment "Merged, **thank you**!"

3. Open in Browser

| Option | Usage | Type | | ----------------- | ------------ | --------- | | -B, --browser | Required | Boolean | | -n, --number | Required | Number |

  • Omitting --number will guess issue number from the last commit message.
    • If you would prefer to use the branch as the ticket number you can change this setting in gh-plugin.json:
    "inferFromCommitTitle": false,

Examples

  • Open Jira issue page in the browser.

    gh jira LPS-123 --browser

4. Transition

| Option | Usage | Type | | ------------------ | ------------ | -------- | | --transition | Required | String | | -n, --number | Required | Number | | -A, --assignee | Optional | String | | -m, --message | Optional | String |

Omitting --number will guess issue number from the last commit message.

Both Jira and GitHub usernames are supported --assignee values.

Examples

  • Start progress on an issue.

    gh jira LPS-123 --transition "Start Progress"
  • Show valid transitions for the issue.

    gh jira LPS-123 --transition
  • Show valid transitions for the issue and assign to an user.

    gh jira LPS-123 --assignee brianchandotcom --transition
  • Show valid transitions for the issue and unassign it.

    gh jira LPS-123 --unassign --transition

5. Status

| Option | Usage | Type | | ---------- | ------------ | -------- | | --status | Required | String |

Examples

  • Show current status of the issue.

    gh jira LPS-123 --status

Testing

Check Travis for continuous integration results.

  • Run JSHint, a tool to detect errors and potential problems.

    npm run-script lint
  • Run Mocha, a unit test framework.

    npm run-script test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

Check Release list.

License

BSD License