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

Already on GitHub? Sign in to your account

'Issue not found' when trying to listTransitions and a work around #50

Open
StubbsPKS opened this Issue Mar 10, 2014 · 0 comments

Comments

Projects
None yet
1 participant

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:password@jira.host.com: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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment