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
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
I have an Automation with an Incoming webhook trigger set-up. I'm receiving form-data from Cognito forms and creating new Jira issues, populating fields using the webhook form content.
This works great, but I can't find a way to attach the attachments coming in from Cognito on the webhook.
I can see/log the attachment information:
I can parse the file data:
Note: The above links don't work here for obvious reasons.
I cannot tell from your post if you are using Jira Cloud or Server, and I have not done what you suggest before...And looking at this post from the Atlassian Developer Community, your success may depend upon what Cognito's interface supports for adding the attachment:
So, you may want to check Cognito's documentation for ideas. If you can get at the attachment, you can probably use the Jira REST API to add it:
Thanks guys for responding so quickly!
I have both a Cloud and an Onprem/Server instance. So, need to know both. (Although they seem to look the same.)
I'm trying to do this withOUT any scripting. (Especially since the cloud doesn't support it.)
I'll check out the Cognito docs, but seems more like it wouldn't matter -- incoming is incoming from any source.
@Simmo so you're saying this simply isn't possible? Would this be possible using a Jira email listener? Could I send an email to Jira to create the ticket that way? If so, then I could act upon it via Automation to do my other work.
Hey @Mark B Wager
I'm afraid it isn't possible with Automation to get the attachment from the incoming webhook and attach it to an issue. I'd definitely try exploring the email sending approach. You can act on issues created that way with Automation.