I'm trying to find a way to have Jira kick off a python script. For example, someone creates an issue with fields needed that will be used as variables in a python script. That ticket, via a change in a field or some other way, will then reach out to a server hosting the python script to tell it to run (I have the variables being pulled already from the python script, but it needs to have something/someone to kick the script off).
The other thought was to just create a web interface on the python server and use Flask to have users hit it and run the script inputting the variables one at a time.
Thanks for any help!
I'd also go for your second thought. Having a web thingy that is able to take a JSON payload and than create an Automation rule in Jira that fires webhooks against the web thingy.
Cool, thanks for the input! Appreciate it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David!
Would like to invite you to take a look in our app for Jira cloud!
We've launched by December 2023, a few months after your post, but this still seems possibly a use case for you,
Check the listing:
https://marketplace.atlassian.com/apps/1232671/easy-for-jira?tab=overview&hosting=cloud
And the announcement post
https://community.atlassian.com/t5/Announcement-discussion/Unveiling-Easy-for-Jira-Python-Extension-for-Jira-Cloud/td-p/2585891
Let me know if you need any info!
Rgds,
Easy for Jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
I am the developer of the Jira cloud app called Cesium Automation that makes it easy to do this.
With Cesium, you can setup a workflow in any programming language (including Python) and then setup an automation rule to invoke the workflow based on a JQL. The script receives the JQL payload as an input param.
Check out the app here: https://marketplace.atlassian.com/apps/1235145/cesium-automation?tab=overview&hosting=cloud
Documentation on how to use this with Jira: https://statuscentral.github.io/cesium-automation/jira-integration.html
If you choose to not use this, the earlier suggested approach is the right way. Host a publicly available web server with Python flask and then use Jira's JQL web hook feature. Make sure to enable security and confirm the webhook is from Jira since the endpoint will be open to the internet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.