Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted
huvian 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
TAGS
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

67 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you