Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jira issue $ISSUE_NAME -> TypeError #56

Open
ezracelli opened this issue Mar 5, 2020 · 0 comments
Open

jira issue $ISSUE_NAME -> TypeError #56

ezracelli opened this issue Mar 5, 2020 · 0 comments

Comments

@ezracelli
Copy link

~$ jira issue $ISSUE_NAME

  TypeError: Cannot read property 'length' of undefined

~$

Just took a very quick look at the source, maybe it's coming from

jira-cli/src/issues.js

Lines 287 to 295 in f75d6ea

// Fixes versions
if ( issue.fields.fixVersions.length ) {
let versions = [];
issue.fields.fixVersions.forEach(function( version ){
versions.push( version.name );
});
table.push( { 'Fix Versions:': versions.join( ', ' ) } );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant