gnustavo / JIRA-REST

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

attach_files() did not use the correct api url #13

Closed mannih closed 7 years ago

mannih commented 7 years ago

Hi Gustavo!

I noticed that attach_files() wouldn't work for me, erroring out with a 404. This was easy enough to fix.

mannih commented 7 years ago

Oops. Good point. After filing the pull request yesterday, I had the idea that calling {{_build_path()}} would be the correct thing to do. But even that doesn't sound quite right. (Please remember poor folks like me who have a jira behind a /jira/ url path)

gnustavo commented 7 years ago

@mannih , I rebased your commit and fixed your fix. :-)

It's on top of next and will be part of the next release.

Thanks!