You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have a flask app server deployed on render.I have a jira webhook the server url should receive a post request when a new jira ticket is created and I should get the jira ticket information.The post request is coming in render logs for me but not coming in browser ,I am not able to get jira data.
url -https://jira-webhook-url.onrender.com/webhook1
github repository of server code deployed on render - https://github.com/jira-project10/webhook-server/blob/main/app.py
I am not getting the post request at the url when a new ticket is created in jira.I tried checking browser console network also no request is there.
This is render logs
I need to get the jira details like this
I believe you need to return the data in JSON serialized content or in strings.
from flask import jsonify
@app.route('/webhook1', methods=['POST'])
def handle_webhook():
data = request.json
return jsonify(data)
Do you not need to render the template if you're not structuring the bits of data into the template you have? Also, it would be good to know if you had any errors or some errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.