node-jira
node-jira copied to clipboard
'Issue not found' when trying to listTransitions and a work around
When trying to listTransitions, I am getting an 'Issue not found' error.
After adding a console.log that shows me the URI that will be returned on line 158 of jira.js, I can see that my URI looks like:
http://name:[email protected]:8080/jira/rest/api/2/issue/TST-125/transitions%3Fexpand=transitions.fields
It seems that the encoded '?' is causing me to get 404's on the reuqest. I changed line 158 of jira.js to read:
return decodeURIComponent(uri);
This solves that particular problem, but I'm not sure if this will have unintended consequences elsewhere in the code. If it matters, I am running the code on a CentOS 6.4 box.