Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mikesch-mp opened this issue Feb 1, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Mikesch-mp
Copy link

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
@Mikesch-mp Mikesch-mp changed the title Create Ticket from UI using templates variables filled from icinga custom vars [feature request] Create ticket from UI using template variables filled from icinga custom vars Feb 1, 2021
@ocstaron
Copy link

ocstaron commented Dec 3, 2021

Hello,

We also would need this feature! It's frustrating as the documentation gives the impression as this should work, but it doesn't.

Please implement it!

Kind regards,
Oliver

@theFeu theFeu added the enhancement New feature or request label Mar 29, 2022
@j0nix
Copy link

j0nix commented Oct 25, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants