Blueprint create wizard connect to api

Hello,

Can I create a drop-down selection in the create menu of a blueprint, which gets the options through a Rest API?

 

BEST,
Adrian

1 answer

1 accepted

1 vote
Accepted answer
Vivian Hu Atlassian Team Mar 08, 2018

Hi @Adrian Germeck,

I believe you should be able to hook into the 'setWizard()' javascript API to make an ajax call once the form has been rendered. Try listening to the 'post-render' event and then making the REST request from there. Alternatively, you may try to make an AJAX request and call setWizard after you've received the data, passing it in a pre-render event, so you can handle your ajax-received data via a context provider on the server side (in a soy template).

Checkout the Blueprint wizard javascript API for more information. https://developer.atlassian.com/server/confluence/javascript-api-for-blueprint-wizards/

Vivian

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

297 views 5 2
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