Open regatapp[bot] opened 2 years ago
Policy has been added successfully
Policy's Name: Issue 132
@regat-app workaround add jobTemplate -a "Job Template with existing limit and extra_vars" -T 14
Action Name length must be less than or equal to 50 characters.
"Job Template with existing limit and extra_vars 132" is more than 50 characters.
@regat-app workaround add jobTemplate -a "Job Template with existing limit extra_vars" -T 14
@regat-app workaround add jobTemplate -a "Job Template with existing limit extra_vars" -T 10
Action has been added successfully.
Total number of Actions in this issue's Policy: 1
{
"actionName": "Job Template with existing limit extra_vars",
"extraVars": [],
"jobTemplateId": "10",
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"name": "add",
"org": "Intern",
"stringExtraVars": "",
"type": "jobTemplate"
}
@regat-app workaround list
Here is the list of workarounds submitted for issue number: 132
{
"_title": "[Problem] testing regat v1.4.0",
"count": 1,
"issueNumber": 132,
"result": [
{
"actionName": "Job Template with existing limit extra_vars 132",
"extraVars": [],
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
}
]
}
@regat-app workaround list
@regat-app workaround list
Here is the list of workarounds submitted for issue number: 132
{
"_title": "[Problem] testing regat v1.4.0",
"count": 1,
"issueNumber": 132,
"result": [
{
"actionName": "Job Template with existing limit extra_vars 132",
"extraVars": [],
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
}
]
}
@regat-app workaround add jobTemplate -h
Usage: @regat-app workaround add jobTemplate [options]
adding new job template workaround
Options:
-a, --action-name <action-name> action name for opsgenie (mandatory). 50
characters max.
-T, --template-id <template-id> template id from AWX (mandatory)
-e, --extra-vars [extra-vars...] extra variables for the AWX job. 100
characters max for all total variables
combined.
-h, --help display help for command
@regat-app workaround add jobTemplate -a "testing is deleted attribute" -T 10
@regat-app workaround add jobTemplate -a "testing is deleted attribute" -T 10
Action has been added successfully.
Total number of Actions in this issue's Policy: 2
{
"actionName": "testing is deleted attribute",
"extraVars": [],
"jobTemplateId": "10",
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"name": "add",
"org": "Intern",
"stringExtraVars": "",
"type": "jobTemplate"
}
@regat-app workaround list
Here is the list of workarounds submitted for issue number: 132
{
"_title": "[Problem] testing regat v1.4.0",
"count": 2,
"issueNumber": 132,
"result": [
{
"actionName": "Job Template with existing limit extra_vars 132",
"extraVars": [],
"isDeleted": false,
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
},
{
"actionName": "testing is deleted attribute 132",
"extraVars": [],
"isDeleted": false,
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
}
]
}
@regat-app workaround add jobTemplate -a "testing is deleted attribute 2" -T 10
Action has been added successfully.
Total number of active Actions in this issue's Policy: 3
{
"actionName": "testing is deleted attribute 2",
"extraVars": [],
"jobTemplateId": "10",
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"name": "add",
"org": "Intern",
"stringExtraVars": "",
"type": "jobTemplate"
}
@regat-app workaround list
Here is the list of workarounds submitted for issue number: 132
{
"_title": "[Problem] testing regat v1.4.0",
"countActiveWorkarounds": 3,
"countAllWorkarounds": 3,
"countDeletedWorkarounds": 0,
"issueNumber": 132,
"result": [
{
"actionName": "Job Template with existing limit extra_vars 132",
"extraVars": [],
"isDeleted": false,
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
},
{
"actionName": "testing is deleted attribute 132",
"extraVars": [],
"isDeleted": false,
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
},
{
"actionName": "testing is deleted attribute 2 132",
"extraVars": [],
"isDeleted": false,
"issueId": 132,
"jobTemplateId": 10,
"jobTemplateName": "Demo Job Template",
"limit": "localhost,test fail host",
"type": "jobTemplate"
}
]
}
@regat-app workaround delete
Action has been deleted.
@regat-app workaround delete -h
Usage: @regat-app workaround delete [command] [options]
delete a workaround by its action name
Options:
-a, --action-name <action-name> the workaround's action name.
-h, --help display help for command
@regat-app workaround delete -h
Usage: @regat-app workaround delete [command] [options]
delete a workaround by its action name
Options:
-a, --action-name <action-name> the workaround's action name with the issue number at the end. please look at the issue's workaround list first.
-h, --help display help for command
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 132"
Action has been deleted.
@regat-app workaround delete -a "testing is deleted attribute 2 13"
@regat-app workaround delete -a "testing is deleted attribute 2 13"
@regat-app workaround delete -a "testing is deleted attribute 2 13"
Alert's URL
https://senseobservationsystem.app.opsgenie.com/alert/detail/788a7709-8144-4a66-9dfb-f7294ddbea80-1637640878030/details
Alert's Description