Skip to content

Conversation

@jasmeetsinghbhatia
Copy link

@jasmeetsinghbhatia jasmeetsinghbhatia commented Aug 2, 2024

In my implementation of backstage the namespace is called default
And I have a custom_field called service that is mapped to catalog from another source (not backstage).
Which essentially means when i try to run the plugin against my incident.io api

the call translates to

http://localhost:7000/api/proxy/incident/api/v2/incidents?custom_field[field ID here][one_of]=[default/service-name]

This is causing problems because the custom field is pulling the names of services without any knowledge of what backstage metadata namespace is (in this case default)

So all the plugin queries return no incidents since the custom-field assigned to incidents is <service-name> and not default/service-name

This PR allows for option to include one of the 2 available field values with and without backstage namespace.

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

Successfully merging this pull request may close these issues.

1 participant