Dear all,
since 1 year i use the opsgenie and OEC for managing my alerts,OEC is running in a linux VM and it is used for creating jira issues with some custom fields.Untill now all jira tickets are created automatically based on some rules.However from now and later i want that a human decides if an alert is an indication for opening a ticket or not,that means that upon alert is triggered someone will check it and decide based on the impact of alert.For this reason i created a custom action "createIssue" and every time an alert is triggered every user has the possibility to create the issues on-demand.Steps which i did:
- Create a custom action under Teams-->Policies-->Alert policies
- Create a custom channel under Teams-->Actions-->Action channels
- The new generated API Key i copied in my config.json file in opsgenie installation folder
Now every time an alert is triggered i click on "create issue" but unfortunately ticket is not created.It seems to be something wrong with 'alertId' in py script.Here the screenshot from alert:

I don't understand why the automatically ticket creation based on rules works and based on custom action does not?
Here you can find the py script-->actionExecutor.py
BR
Oltion Alimerko