How would I insert a form/button into a confluence page which invokes a remote JIRA API?

I am trying to provide our users the ability to invoke the REST API of my JIRA instance from a confluence page. Eg. Kick off an issue creation by a button placed within a confluence page.

I would like the user to be prompted with a form on invoking the button, or provide input fields on the page as well.

What might be the best way of doing this?

Thanks!

3 answers

Any suggestions? 

Will I need to write a custom shell script to handle the webhook via HTTP request? or is there some other solution?

Thanks!

0 vote
Steven Behnke Community Champion Nov 19, 2015

I've been looking and poking at this for my own purposes. If I find anything good and clean I will let you know. I'm personally interested in the best way to run a Curl or equivalent within Confluence. Have you considered using an Issue Collector? This is a built-in method of JIRA that can be embedded in Confluence Server pages. I gave a pretty extensive answer over here... https://answers.atlassian.com/questions/31654942/answers/31673943

High-level, it seems that one would have to create a jQuery based form and using the HTML widget but that is quite lame...

Time to start experimenting!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,352 views 25 10
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you