Skip to content

[feature request] Create ticket from UI using template variables filled from icinga custom vars #60

@Mikesch-mp

Description

@Mikesch-mp

Hello,

using templates variables work fine when useing the cli command with parameters for those variables.
Creating Issues from icingaweb they are unuseable beside hardcoded variables or using the predefined ones like ${host}.

There should be a way to fill needed (custom) fields with the value from a custom variable of a service/host object.

for example a customer number is needed to create a ticket.
The templates.ini

[schwurbel]
customfield_19232 = "${customerid}"

With the cli command icingacli jira ..... -- customerid 12345 works perfect, from Icingaweb you get only an error.
Would be nice to have something like

[schwurbel]
customfield_19232 = "${host.vars.customerid}"

That will fill the customfield with the custom var from the host object (or custom vars from service object)

Cheers,
Der nervige Carsten

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions