Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira event information into a Google Pub/Sub

CHILLAMCHARLA VARUN
Contributor
February 18, 2020

We need to eventually send all Jira event information into a Google Pub/Sub Topic. The first use case is to send ticket data when a ticket creation event occurs. We need to do the following in this story:

  1. Create a new listener 
  2. Identify if all ticket data variables are available in Script-runner to include in the body sent to Google Pub/Sub.
  3. Configure the listener to fire on ticket creation events
  4. Use Groovy to authenticate, build the JSON and send a POST request to Google
  5. Attached is a working Groovy POST request sample for reference.
  6. We have a test topic configured, please reach out for Google token when ready to being work.

Here is a Howto guide for publishing data

https://cloud.google.com/pubsub/docs/publisher

 

0 answers

Suggest an answer

Log in or Sign up to answer