floralvikings / jira-connector

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

add webhookURI to opts in webhook apis #238

Closed songgao closed 4 years ago

songgao commented 4 years ago

The webhook part of this lib uses the 1.0 version REST APIs. The 1.0 version of the createWebhook API doesn't return a webhookId, but a self field that includes the entire URI. This PR makes it possible to use that in other calls so one doesn't have to parse the webhookId out of the URI.

songgao commented 4 years ago

@floralvikings It's pretty small. Please let me know what you think. Thanks!