Need help with Creating a issue in JIRA by submitting a form in Confluence - Attachments

Diane Burns March 19, 2019

I have created the form in Confluence and have setup the Scriptrunner Rest endpoints to receive the data and everything is working fine as documented in https://www.adaptavist.com/doco/display/F4C/iv.+Creating+a+issue+in+JIRA+by+submitting+a+form+in+Confluence

Now the users wish to add the 'Forms - Attachment' Macro to automatically add attachments at creation.

Question 1 - is this doable?

Question 2 - If it is.... how?

1 answer

0 votes
Katy Kelly
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2019

Hi Diane, 

Can you clarify if you are using ScriptRunner for Cloud, or for Server?

Regards,

Katy

Diane Burns March 28, 2019

We are using server

Tony Gough _Adaptavist_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2019

Hi Diane,

This is certainly doable!

Please find the script linked below which creates an issue in Jira based on a submitted form, including creating and processing an attachment.

https://bitbucket.org/snippets/Adaptavist/zebp7a

I hope this helps you out.

Kind regards,
Tony

Suggest an answer

Log in or Sign up to answer