lib/donedone-api.js
function(releaseBuildInfo, cb) {
      orderNumbers = releaseBuildInfo.order_numbers_ready_for_next_release.join(',');
      // Trigger an error when there are no issues that are ready to release
      if('' === orderNumbers) {
        cb('Cannot create release build, there are no issues marked as "Ready for Next Release".');
      }
      else {
        exports.getPeopleInProject(subdomain, username, passwordOrAPIToken, id, function(err, respData) {
          cb(err, respData);
        });
      }
    }
function(releaseBuildInfo, cb) {
      orderNumbers = releaseBuildInfo.order_numbers_ready_for_next_release.join(',');
      // Trigger an error when there are no issues that are ready to release
      if('' === orderNumbers) {
        cb('Cannot create release build, there are no issues marked as "Ready for Next Release".');
      }
      else {
        exports.getPeopleInProject(subdomain, username, passwordOrAPIToken, id, function(err, respData) {
          cb(err, respData);
        });
      }
    }
function ( releaseBuildInfo , cb ) { orderNumbers = releaseBuildInfo . order_numbers_ready_for_next_release . join ( ',' ) ; // Trigger an error when there are no issues that are ready to release if ( '' === orderNumbers ) { cb ( 'Cannot create release build, there are no issues marked as "Ready for Next Release".' ) ; } else { exports . getPeopleInProject ( subdomain , username , passwordOrAPIToken , id , function ( err , respData ) { cb ( err , respData ) ; } ) ; } }
Get people in the project
Get people in the project