apache / openwhisk-catalog

Curated catalog of Apache OpenWhisk packages to interface with event producers and consumers
https://openwhisk.apache.org/
Apache License 2.0
33 stars 49 forks source link

JIRA feed package for Openwhisk catalog #288

Closed prabhashthere closed 3 years ago

prabhashthere commented 5 years ago

This can be used to access the JIRA APIs (similar to the github package in the catalog) These are the lifecycle events that I have defined in my package.

CREATE Lifrecycle Event -This event occurs when we create the trigger in /whisk.system/ This creates a webhook in JIRA and register the webhook endpoint to the trigger url along with some auth information. -We can pass 'the event types of our interest' as parameters when creating the trigger. Then the JIRA API will fire the trigger bound to that webhook when one of those events occurred in JIRA (example events: creating new issue, creating new project, assigning an issue to a member). -We can set a rule to connect a whisk action with this trigger so, the action will be invoked when the trigger is fired.

DELETE Lifecycle Event -This occures when we delete the trigger from /whisk.system/ The package will look for the webhook which is bound with trigger and delete the relevant webhook from JIRA.

mrutkows commented 5 years ago

@prabhashthere @csantanapr what are the plans for the existing JIRA package? i.e., https://github.com/apache/incubator-openwhisk-package-jira

csantanapr commented 5 years ago

Yeah maybe is better to use the JIRA repo instead of installing in catalog repo

prabhashthere commented 5 years ago

@csantanapr @mrutkows @rabbah the capabilities of existing JIRA pkg is, creating a new issue in JIRA using a whisk action. In this package, I have implemented a JIRA feed using webhooks so that openwhisk can trigger the actions happening in JIRA. Are you suggesting to add this implementation to the exiting jira package? If so, I can work on it.

rabbah commented 5 years ago

@prabhashthere yes, it makes sense to move your contribution to https://github.com/apache/incubator-openwhisk-package-jira.

dgrove-oss commented 3 years ago

This has been let to sit too long; closing.