gnustavo / JIRA-REST

Thin wrapper around Jira's REST API
https://metacpan.org/release/JIRA-REST/
17 stars 17 forks source link

Would you be amenable to allowing anonymous access? #11

Closed packy closed 7 years ago

packy commented 7 years ago

Hi, I'm the author of the module JIRA::REST::Class, which uses your module to access a JIRA server and then represent JIRA's entities as Perl object classes instead of hashed.

I just got an inquiry about the possibility of using my class to anonymously access public JIRA APIs (like jira.atlassian.com). I'm wondering if you'd be willing to entertain a pull request to allow that. If so, I'll fork and write up a change for you to look at.

gnustavo commented 7 years ago

Sure, Packy. Give it a shot and we'll discuss it.

Latelly I was thinking about a new interface for new so that I could accomodate other parameters in the future without breaking compatibility. Something like accepting a hash-ref with keys naming the arguments. Feel free to come up with something like this if it makes sense to you.

Also, JIRA::REST still doesn't have any tests besides. Being able to use anonymous REST calls would allow me to implement a few tests using Atlassian's own JIRA instance.

packy commented 7 years ago

Exactly. I borrowed code from REST::Client to implement a lightweight pseudo-JIRA server for my own tests (thus allowing me to control the data being returned), but being able to test against Atlassian's instance would definitely help with integration testing.

On Wed, Dec 7, 2016 at 11:16 AM Gustavo Chaves notifications@github.com wrote:

Sure, Packy. Give it a shot and we'll discuss it.

Latelly I was thinking about a new interface for new so that I could accomodate other parameters in the future without breaking compatibility. Something like accepting a hash-ref with keys naming the arguments. Feel free to come up with something like this if it makes sense to you.

Also, JIRA::REST still doesn't have any tests besides. Being able to use anonymous REST calls would allow me to implement a few tests using Atlassian's own JIRA instance.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gnustavo/JIRA-REST/issues/11#issuecomment-265491800, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUZZCKx43ZJw1hnUqsjCU5dNGH4cFoBks5rFtvPgaJpZM4LGknR .