floralvikings / jira-connector

NodeJS Wrapper for the Jira REST API
http://floralvikings.github.io/jira-connector/
MIT License
373 stars 180 forks source link

Generic request #109

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

is it possible to make a request to a currently non-supported api (eg. rest/gadget/1.0/createdVsResolved) using the provided OAuth helper ? I need to call a Gadget to get a chart image but I had to make a request outside of jira-connector using basic auth only for that request, while for every other need I use the provided OAuth helper. Can you make a non-predefined request by providing the request url ? Thanks !

ab320012 commented 6 years ago

have you tried to use this interface? https://github.com/floralvikings/jira-connector/blob/master/index.js#L343

ghost commented 6 years ago

Thanks this is what I needed, I totally missed this one!