Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Jira = require('godjira-wrapper');
- var _ = require('underscore');
- jira = new Jira({
- user: 'jbabuyo', //jira username
- pass: 'st@ffing101', //password
- host: 'suitedconnector.atlassian.net', //your jira host/instance
- });
- jira.getRapidView( 1 ,function(e, res){
- //console.log(res);
- var textParse = JSON.parse(res.text),
- sprintData = textParse['issuesData']['issues'];
- var temp = [];
- sprintData.forEach(function(item){
- var users = item.assigneeName;
- temp.push(users);
- });
- console.log(_.uniq(temp, false));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement