Blueprint create wizard connect to api

Adrian Germeck December 28, 2017

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
Atlassian Team members are employees working across the company in a wide variety of roles.
March 8, 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
AUG Leaders

Atlassian Community Events