Variables

Variables can be used to store and reuse values in Pipelines Forms. By storing a value as a variable, you can reference it in you forms configuration.

Managing Variables

Accessing variables

You can manage your variables via the upper-right corner menu of the application. From this menu, you can:

  • Add new variables.

  • Remove existing variables.

Sensitive Information

Using Variables

Variables are currently only available in the Remote Select field.

Below is an example of how variables can be integrated into the field:

- &example-remote-select-field
    label: Remote Options With Auth
    type: remote_select
    name: EXAMPLE_REMOTE_SELECT
    availableValues:
      url: "https://hub.docker.com/v2/repositories/atlassian/jira-software/tags/?{{query}}"
      path: "$.results.[*].{{path}}"
      headers:
        - user-name: {{user}}
        - api-key: {{apiKey}}
        - My-{{header}}: test
      method: "{{method}}"
      body: "{'test': '{{bodyValue}}'}"

Under the availableValues section, you can use variables in any of the values. If a variable does not exist, its placeholder will remain empty. This allows for dynamic configurations based on the variables provided.


By effectively managing and utilizing variables, you can enhance the efficiency and flexibility of your Pipeline Forms configurations.

Last updated