EC-Remedy Plugin
EC-Remedy
Plugin version 2.0.0
Revised on Thu Jan 04 12:45:15 ICT 2024
Contents
- Overview
- Plugin Configurations
- Plugin Procedures
- Create Change Request
- Update Change Request
- Get Change Request
- Get Change Request by Infrastructure Change Id
- Create Entry
- Update Entry
- Get Entry
- Create Incident
- Update Incident
- Get Incident
- Get Incident By Incident Number
- Get Service Request By Request Number
- Check Service Request Status
- Wait for Change Request Window and Approval
Cloudbees CD integration for the BMC Remedy System REST API
Plugin configurations are sets of parameters that can be applied across some, or all, of the plugin procedures. They can reduce the repetition of common values, create predefined parameter sets, and securely store credentials. Each configuration is given a unique name that is entered in the designated parameter for the plugin procedures that use them.
- To create plugin configurations in CloudBees CD/RO, complete the following steps:
- Navigate to DevOps Essentials Plugin Management Plugin configurations.
- Select Add plugin configuration to create a new configuration.
- In the New Configuration window, specify a Name for the configuration.
- Select the Project that the configuration belongs to.
- Optionally, add a Description for the configuration.
- Select the appropriate Plugin for the configuration.
- Configure the parameters per the descriptions below.
Configuration Parameters
| Parameter | Description |
|---|---|
| Configuration Name | Unique name for the configuration |
| Description | Configuration description |
| Remedy REST Endpoint | REST API Endpoint |
| Debug Level | This option sets debug level for logs. If info is selected, only summary information will be shown, for debug, there will be some debug information and for trace the whole requests and responses will be shown. |
IMPORTANT Note that the names of Required parameters are marked in bold* in the parameter description table for each procedure.
Create Remedy Change Request
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Description | An change request description. |
| Status | An change request status. |
| Urgency | An change request urgency. |
| Impact | An change request impact. |
| First Name | An change request first name. |
| Last Name | An change request last name. |
| Location Company | An change request location company. |
| Values | Fields for change request (JSON object). e.g. { "First Name": "Allen", "Last Name": "Allbrook" } |
| resultPropertyPath | The property path to store the result of the procedure. |
| Parameter | Description |
|---|---|
| Change_Entry_ID | Entry ID of the created change request. |
| Infrastructure Change Id | Infrastructure Change Id of the created change request. |
Update Remedy Change Request
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Entry ID | Entry ID of a change request. |
| Description | An change request description. |
| Status | An change request status. |
| Urgency | An change request urgency. |
| Impact | An change request impact. |
| First Name | An change request first name. |
| Last Name | An change request last name. |
| Location Company | An change request location company. |
| Values | Fields for change request (JSON object). e.g. { "First Name": "Allen", "Last Name": "Allbrook" } |
| resultPropertyPath | The property path to store the result of the procedure. |
Get Remedy Change Request
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Entry ID | Entry ID of a change request. |
| resultPropertyPath | The property path to store the result of the procedure. |
Get Remedy Change Request by Infrastructure Change Id
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Infrastructure Change Id | Infrastructure Change Id of a change request. |
| resultPropertyPath | The property path to store the result of the procedure. |
Create Remedy Entry
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Form Name | Remedy form name, e.g. RMS:ReleaseInterface_Create |
| Values | Fields for entry (JSON object), e.g. { "values": { "First Name": "Allen", "Last Name": "Allbrook", "Company": "Calbro Services", "Milestone": "Initiate", "Impact": "1-Extensive/Widespread", "Urgency": "1-Critical", "Risk Level": "Risk Level 1", "Description": "Test Created Release", "Location Company": "Calbro Services", "Business Justification": "Defect" } } |
| resultPropertyPath | The property path to store the result of the procedure. |
| Parameter | Description |
|---|---|
| entryId | Entry ID of the created entry. |
Update Remedy Entry
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Form Name | Remedy form name, e.g. RMS:ReleaseInterface_Create |
| Entry ID | Remedy entry ID |
| Values | Fields for entry (JSON object), e.g. { "values":{ "Submitter":"Allen", "Short Description":"testing 123" } } |
| resultPropertyPath | The property path to store the result of the procedure. |
Fetches Remedy entry with the specified form name and entry ID
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Form Name | Remedy form name, e.g. RMS:ReleaseInterface_Create |
| Entry ID | Remedy entry ID |
| resultPropertyPath | The property path to store the result of the procedure. |
Create Remedy Incident
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Description | An incident description. |
| Status | An incident status. |
| Urgency | An incident urgency. |
| Impact | An incident impact. |
| First Name | An incident first name. |
| Last Name | An incident last name. |
| Service_Type | An change request service type. |
| Reported Source | An change request reported source. |
| Values | Fields for change request (JSON object). |
| resultPropertyPath | The property path to store the result of the procedure. |
| Parameter | Description |
|---|---|
| entryId | Entry ID of the created incident. |
Update Remedy Incident
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Entry ID | Entry ID of a change request. |
| Description | An incident description. |
| Status | An incident status. |
| Urgency | An incident urgency. |
| Impact | An incident impact. |
| First Name | An incident first name. |
| Last Name | An incident last name. |
| Values | Fields for change request (JSON object). |
| resultPropertyPath | The property path to store the result of the procedure. |
Get Remedy incident details
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Entry ID | Entry ID of a change request. |
| resultPropertyPath | The property path to store the result of the procedure. |
Get Remedy Incident Details By Incident Number
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Incident Number | Incident Number of a incident. |
| resultPropertyPath | The property path to store the result of the procedure. |
Get Remedy Service Request Details By Request Number
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Request Number | Request Number of a Service Request. |
| resultPropertyPath | The property path to store the result of the procedure. |
Get Remedy Service Request Details By Request Number and check if the Status is in the list
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Request Number | Request Number of a Service Request. |
| Statuses | Request Status list of a Service Request, comma seperated list. |
Wait for Change Request Time Window and Approval (In Status Scheduled/Implementation In Progress and not Cancelled)
| Parameter | Description |
|---|---|
| Configuration Name | Previously defined configuration for the plugin |
| Infrastructure Change Id | Infrastructure Change Id of a change request. |
| Polling Interval | interval in seconds to poll the status during the change window |