Skip to content

When cloning a (external) command, fields are not copied #2264

@stevie-sy

Description

@stevie-sy

Expected Behavior

If you clone a (external) command, defined fields should be copied as well. If this behavior is wanted, there should be an option to copy the fields

Current Behavior

If you clone a (external) command, defined fields are not copied. If you have assigned a lot of fields (like the http command offers), it is a bit annoying when you have to create all the fields again.
image

image

Only the arguments are copied

Possible Solution

copy the fields like the arguments. If this behavior is wanted, there should be an option to copy the fields also.

Steps to Reproduce (for bugs)

Copy a command and check tab about fields (see screenshots above)

Your Environment

Director version (System - About): 1.8.0
Icinga Web 2 version and modules (System - About): 2.8.2
Icinga 2 version (icinga2 --version): 2.11.8
Operating System and version: CentOS 7
Webserver, PHP versions: apache, php-fpm 7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions