Skip to content

Add mapping possibility for list parameters #129

@bugy

Description

@bugy

When a user selects a value for the list parameter, this value is passed to the script as an argument.
However, sometimes required value could be too complicated (IP or MAC address, for example), then it would be possible to have some kind of mapping: user-friendly name is shown on the UI, but corresponding "technical" value is passed to the script.
Example:

{
    "name": "server",
    "type": "list",
    "values": {
        "prod": "192.168.0.10",
        "dev": "192.168.0.11",
        "qa": "192.168.0.12"
    }   
}

In this case user will select from prod, dev an qa, but 192.168.0.xx will be passed to a script

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions