This tool is a C# Windows Form application that calls the Cherwell Service Manager API to retrieve the status and assigned user name for a given incident ticket ID.
Before you can run the tool, you will need the following:
- Visual Studio or another C# development environment
- A Cherwell Service Manager instance with an API authentication token
- The Cherwell API endpoint URL for your instance
To install and run the tool, follow these steps:
- Clone or download the tool's repository to your local machine.
- Open the solution file (
TicketStatusTool.sln
) in Visual Studio. - Replace the
baseUri
andtoken
variables in thebtnCheckStatus_Click
method of theForm1.cs
file with your Cherwell API endpoint URL and authentication token, respectively. - Build the solution (
Ctrl+Shift+B
) to ensure that there are no errors or warnings. - Run the tool by pressing the
Start
button in Visual Studio (F5
), or by navigating to the build output directory and running theTicketStatusTool.exe
file.
To use the tool, follow these steps:
- Enter the ticket ID for the incident you want to check in the
txtTicketId
textbox. - Click the
Check Status
button to retrieve the status and assigned user name for the ticket. - The results will be displayed in the
lblTicketStatus
label below the text field.
Note: If the tool fails to retrieve the ticket status and assigned user name, an error message will be displayed in the lblTicketStatus
label.
This tool is provided under the Apache License 2.0 and is intended for educational and informational purposes only. By using this tool, you agree to comply with the terms and conditions of the Apache License 2.0. The author and contributors of this tool do not assume any liability or responsibility for any damages or losses arising from the use of this tool.