jira ls No issues
See original GitHub issuejira -V
v0.5.4
node -v
v8.16.0
Then, config per steps:
Jira URL: https://co.atlassian.net/
Username: derek@co.co
Password:
Information stored!
Then:
jira ls
No issues
$ jira config
TypeError: callback is not a function
at Object.setConfig (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/lib/auth.js:62:24)
at Command.<anonymous> (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/bin/jira.js:364:22)
at Command.<anonymous> (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/node_modules/commander/index.js:254:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/node_modules/commander/index.js:471:12)
at Command.parse (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/node_modules/commander/index.js:378:15)
at /Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/bin/jira.js:402:13
at Object.execCb (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/node_modules/requirejs/bin/r.js:1941:33)
at Module.check (/Users/liftco/.nvm/versions/node/v8.16.0/lib/node_modules/jira-cmd/node_modules/requirejs/bin/r.js:1116:51)
Previously (yesterday), this was working fine. I even uninstalled via npm
and rm -rf ~/.jira/config.json
. Same results, No issues
.
It appears the callback
in setConfig
is undefined
at jira-cmd/lib/auth.js:63:24
:
setConfig: function (callback) {
var that = this;
if (this.checkConfig()) {
this.updateConfig();
console.log('callback', callback); // callback undefined
return callback(true);
} else {
if (!fs.existsSync(this.cfgPath)) {
fs.mkdirSync(this.cfgPath);
}
I love this CLI tool, any tips on how to debug?
Issue Analytics
- State:
- Created 4 years ago
- Comments:30 (16 by maintainers)
Top Results From Across the Web
Issues are not showing under child issues panel | Jira
Summary. Few users are not able to view child issues ( Epic) under the Initiative in Jira issue view screen ...
Read more >save queries in configuration file · Issue #99 · go-jira/jira - GitHub
jira ls -Q myquery. I thought about saving the queries themselves in config.yml, but I'm not sure if that would work or what...
Read more >jira-cmd - npm
There are no other projects in the npm registry using jira-cmd. ... ls [options] List my issues start <issue> Start working on an...
Read more >Possible issues with Jira Cards and Jira add-on
Suggestions for Jira Cards ; Jira URL is not valid / Enter Jira base URL / Bad request. Deserialization. ; There is an...
Read more >confluence create button missing
With Structure, you can assemble Jira issues any way you'd like, ... locate the. ls -al Cause The user account running Confluence does...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please let me know if any functionality is needed in jira-cmd. we can triage and develop it. closing this now.
@jnewton03 @palashkulsh I’m back in the game! Thanks for the help. All good on my end.