I find the Insight automation framework to be a bit limited / beyond my skill level (contradictory, I know). Ideally I'd like to automate the creation and referencing of multiple objects from a JIRA issue, but I'm not sure how to achieve that without using a Scriptrunner script, which I'm not comfortable in creating (yet).
Automation for JIRA however has a pretty easy-to-use framework and I can easily create Insight objects via the REST API from their webhook actions.
I would however like to store the response from Insight so that I can use it in subsequent steps of the automation rule (e.g. store the key of the created object so that I can set up a reference to it).
Automation for JIRA has an incoming webhook URL from where it can use the input, but then that would have to be sent to Insight in the first place as a callback parameter.
Is something like this possible?
I've noted that in Insight 5.1 we would be able to use placeholders when making an http request as part of the Insight automation... perhaps that could be a way to do it, since that could be triggered when a new object is created, sending the object key to a pre-determined URL.
If the end goal is to send an HTTP request based on information from the triggered object(s), that will be possible as of Insight 5.1 as mentioned. So if you as mentioned has some functionality in place that creates those objects to trigger the automation rule, it should be a simple approach to create the HTTP request.
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs