opsgenie / oec-scripts

Opsgenie Edge Connector Custom Scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

globalArgs Issue

mkempken opened this issue · comments

Hi,

I would like to close a JIRA ticket if an alert in Opsgenie is closed. I'm using the jiraActionExecutor.py and oec. I'm getting this error when an alert is closed.

ESC[37mDEBUESC[0m[2019-09-27T13:47:15.263251913Z] Action[AddNote] execution of message[f3faf014-abce-415b-adf5-8e2067a0a35d] with alertId[698e9575-d8ed-4c5a-b780-111c63e867e2-1569584384790] failed: exit status 2 Stderr: usage: jiraActionExecutor.py [-h] -payload QUEUEPAYLOAD -apiKey APIKEY
-opsgenieUrl OPSGENIEURL -logLevel LOGLEVEL
[-username USERNAME] [-password PASSWORD]
[-url URL] [-projectKey PROJECTKEY]
[-issueTypeName ISSUETYPENAME]
jiraActionExecutor.py: error: unrecognized arguments: <list_of_args_you_want_to_pass_to_the_scripts>

What am I missing? What is globalArgs used for?

Thanks,