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

storypointer

v1.8.1

Published

Small CLI tool to set JIRA Story Points and Priority

Downloads

108

Readme

JIRA StoryPointer

npm version Tests Linters CodeQL codecov

Description

Simple CLI tool that provides an interactive interface to quickly set priority, severity and story points for your JIRA issues. No need to open the JIRA web interface.

StoryPointer uses base JQL query to fetch issues that are not closed and have no story points or priority set - Project = RHEL AND ("Story Points" is EMPTY OR priority is EMPTY OR Severity is EMPTY) AND status != Closed. The query can be customized using the CLI command options or by setting ENV variables.

Usage

Make sure to store your JIRA Personal Access Token (PAT) in the ~/.config/storypointer/.env or ~/.env.storypointer file:

# ~/.config/storypointer/.env
JIRA_API_TOKEN="exaple-token"

[!TIP]

You can also set default values for the assignee, developer, component and more in the ~/.config/storypointer/.env or ~/.env.storypointer file:

# ~/.config/storypointer/.env
ASSIGNEE="your-jira-username"
DEVELOPER="your-jira-username"
COMPONENT="your-component"
JQL="your-jql-query"

Using Node.js

# run it using npx
npx storypointer

# or install it globally using npm
npm install -g storypointer
storypointer

Using RHEL Developer Toolbox

StoryPointer is available as a module in RHEL Developer Toolbox. StoryPointer module documentation is available here.

How to use

[!IMPORTANT]

This tool is intended to be used by Red Hat employees on the Red Hat JIRA instance. It may be adapted to work with other JIRA instances in the future.

$ storypointer --help
Usage: storypointer [options] [string]

📐 Small CLI tool to set JIRA Story Points and Priority

Arguments:
  string                       Issue keys separated by `␣`

Options:
  -V, --version                output the version number
  -c, --component [component]  Issue component
  -a, --assignee [assignee]    Issue assignee (default: "<user-login>@redhat.com")
  -d, --developer [developer]  Issue developer
  -j, --jql [jql]              JQL query
  -l, --legend                 Print legend
  -n, --nocolor                Disable color output (default: false)
  -h, --help                   display help for command

[!NOTE]

Only 50 issues are fetched from JIRA at a time. If you want to triage more than 50 issues just run the command again.

[!TIP]

You can disable default values by setting NODEFAULTS environment variable to true:

NODEFAULTS=true npx storypointer

Similarly, you can disable color output by setting the NOCOLOR environment variable to true.

Examples

Size all issues of the curl component:

storypointer -c curl

JIRA Version: 9.12.10
JQL: Project = RHEL AND ("Story Points" is EMPTY OR priority is EMPTY OR Severity is EMPTY) AND status != Closed AND component = curl ORDER BY id DESC
5 issues are waiting to be sized, prioritized, or set severity.

🐛 RHEL-1234 - In Progress - Assignee
curl - Add new feature to curl
See more: https://issues.redhat.com/browse/RHEL-1234

? Story Points
  1
  2
❯ 3
  5
  8
  13
 ---
  SKIP
  EXIT

You can use the arrow keys to select the story points and press Enter to confirm. Then you can select the priority. You can exit the tool by pressing Ctrl+C or selecting the Exit option.