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 Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

694 views 17 19
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