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

Import custom field choices #44

Closed
joshsol1 opened this issue Sep 17, 2024 · 3 comments
Closed

Import custom field choices #44

joshsol1 opened this issue Sep 17, 2024 · 3 comments

Comments

@joshsol1
Copy link
Collaborator

doing the thing

@sol1-matt
Copy link
Member

sol1-matt commented Sep 20, 2024

create icinga group objects from custom field choice set extra_choices values
1 row per value

       {
            "id": 3,
            "display": "icinga_dict_type choices",
            "name": "icinga_dict_type choices",
            "description": "",
            "base_choices": null,
            "extra_choices": [
                [
                    "check_ssl_cert",
                    "Check SSL Cert"
                ],
                [
                    "default",
                    "Default"
                ],
                [
                    "http",
                    "Check HTTP"
                ]
            ],
            "order_alphabetically": true,
            "choices_count": 3,
        },

need to iterate the custom field choice set and extra_choices values

@sol1-matt
Copy link
Member

this is ready for testing

@sol1-matt
Copy link
Member

@joshsol1 said this was ready for release

sol1-matt added a commit that referenced this issue Oct 3, 2024
Import custom field choices and then make a row per extra choice to satisfy #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants