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'm looking to have users register anonymously with information and upload files via confiforms confluence form to JIRA. I tried to follow above, but I'm guessing this is for server (I don't think on cloud I can just add macros) but getting 415 error when trying to attach the file (after ticket has been created, added to confiforms page).
With form above I'm able to capture data, create JIRA ticket (not shown), and then create confiforms entry (first IFTTT) with jira key and attachment.
The second IFTTT form is to add attachment. I have tried various headers, with and without content, with and without 'Set parameter name' to file, and with different api path (/rest/api/latest/issue/... vs /rest/api/2/issue/...). Most errors are coming back 415.
Not sure where to turn here.
Thanks for any help
Thanks @Alex Medved _ConfiForms_ ...
I put field macro in (as below) on the original Create JIRA issue. I tried changing to webservice request as well - both results in the same 415 error.
My understanding is that for anonymous attachment, we need to create ticket and then add attachment to existing.
I also have the field macro in the WebService request to JIRA for adding the attachment after getting the ticket number. Should this be removed?
The 415 sounds like you are setting some content type that the api does not accept
see a comple example in our wiki https://wiki.vertuna.com/display/FORMS/How+to+create+a+form+to+create+a+Jira+issue+from+Confluence
hope it helps