0.0.4 • Published 5 years ago

sprintr v0.0.4

Weekly downloads
17
License
-
Repository
-
Last release
5 years ago

Sprintr

Open ticket to represent your sprint status from terminal.
Keep focus on your IDE.
Avoid going to browser.

Usage

npm install -g sprintr
sprint --summary "do this task"

>> { id: '25767',
  key: 'ABC-10566',
  self: 'https://myaccount.atlassian.net/rest/api/3/issue/11111111' }


sprint status

>>
────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────┬────────────────────────────────────────────┐
│ TODO                                                          │ In Progress                                      │ Done                                       │
├───────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────┼────────────────────────────────────────────┤
| Task 1 Summary                                                |                                                  |                                            |
| ---------                                                     |                                                  |                                            |
| Bug       Assignee1                                           |                                                  |                                            |
| https://account.atlassian.net/browse/KEY-1234                 |                                                  |                                            |
└───────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────┴────────────────────────────────────────────┘

Conf file

Example configuration file

default:
  type: jira // only cloud jira currently supported
  auth:
    token: __token__ // generate at https://id.atlassian.com/manage-profile/security
    username: __user__
    account: __account__ // subdomain
  columns:
    - label: TODO
      statuses: ["Open", "Reopened"]
    - label: In Progress
      statuses: ["In Progress"]
    - label: Done
      statuses: ["Resolved", "Closed"]
  filter:
    status: 123456 // filterId from savedFilters in Jira
  target:
    default: // only default currently supported
      project:
        key: __key__ // project key
      issuetype:
        name: __issuetype__ // Bug, Task etc..
      customfield_11243:  // qa Assignee
        name: __username__
      customfield_10300: __number__ // story points
      customfield_10400: // component
        value: __dropdown_value__
      customfield_10104: __some_custom_value__ // Team
      assignee:
        name: __username__

Nice references