🚁Dynamic

/parameters/dynamic

triangle-exclamation

Creating a Dynamic Parameter

To Create a Dynamic Parameter, simply Click the Create tab, Choose a Code Language, write a small piece of Code to generate your output and Click submit on the bottom.

circle-info

Your script should print an array of dynamic options using the following format:

:set-output result=[a,b,c]

Example in Bash:

Testing a Dynamic Parameter

After you've created your Dynamic Parameter, click "Play" in the list. It will bring you to a small Run page, where you can show and test a default for your Parameter.

circle-info

You can also tweak the code and run it, but in order to save it you'll need to click the "Edit" button in the Dynamic Parameter list.

Last updated