jira-requirements-data
Promise based library to query a JIRA project and return a list of requirements and linked issues with their statuses.
For use in projects where requirements are collected then issues satisfying those requirements are created and linked using JIRA issue linking with a many to many relationship in an analysis phase.
Usage
npm install jira-requirements-data
var jiraRequirementsData = ; ;
The requirementSprints
and taskSprints
arrays will contain the following structured data
id: 123 // The sprint ID sequence: 4561 // The sprint sequence number (for ordering in the rapid view) startDate: '13/May/14 5:38 PM' // The sprint start date endDate: '27/May/14 5:38 PM' // The sprint end date completeDate: '20/Jun/14 5:38 PM' // The sprint complete date (when the sprint was actually closed) name: 'My Sprint' // The sprint name state: 'CLOSED' // The sprint state, one of ['CLOSED', 'FUTURE', 'ACTIVE'] issues = // Array of issue IDs associated with the sprint 12345 45678 ... ...
The requirements
array will contain the following structured data
id: 12345 // The issue ID issuetype: 'Requirement' // The issue type name key: 'KEY-123' // The issue key summary: 'Implement something' // The issue summary state: 'ready' // The issue state, one of ['notready', 'ready', 'done'] issuelinks: id: 45321 // The linked issue id linktype: 'is covered by' // The link type name issuetype: 'Story' // The linked issue type name key: 'KEY-4535' // The linked issue key summary: 'As a user I want to do something so that I can get something' // The linked issue summary state: 'done' // The issue state, one of ['notdone', 'done'] ... ...