Open prasoon-pxc opened 1 year ago
I think the issue is related to this line: https://github.com/K-Phoen/backstage-plugin-opsgenie/blob/77dbedb81517560eba0a4dc008b0e3333807952b/src/api.ts#L184
The response from Opsgenie does not include an ownerTeam
on every Schedule. So the response should probably be filtered like this: return response.data.filter(schedule => schedule.ownerTeam);
thanks @mattbarlow-sg for your time , so this should be change in plugin side right? or I need to change it somewhere?
@prasoon-pxc I believe a change needs to happen in this plugin to filter out schedules that don't have an owner team, because of the reference here.
When I curl
the Opsgenie schedules API I can see in the response that not all schedules have ownerTeam
.
However, I just started looking at this plugin yesterday, so I might be missing something.
@mattbarlow-sg thanks!!
Hi, Do we have any chances to fix this?
Facing the same issue - is there a solution for the above or a plan to rollout the fix mentioned ?
Have a PR up for review - https://github.com/K-Phoen/backstage-plugin-opsgenie/pull/128. @K-Phoen could you please take a look ?
I have updated the backstage from
1.7.1
to1.10.1
, after updating the backstage , opsgenie plugin stop working , plugin with components page is still working i.e I am able to show alert or "who-is-on-call" on specific component page but standalone page for this plugin is giving error.PF
I have checked and found that opsgenie plugin gets updated from
0.6.1
to0.6.4
yarn backstage-cli info