For Cumulocity IoT version >= 10.16 and Application Builder version >= 2.0.0, please refer to https://github.com/SoftwareAG/c8y-ticketing-integration-plugin
This widget is dependent on Cumulocity IoT Ticketing Integration microservice. It allows to configure the microservice and see the tickets list and charts from ticketing platform.
- Download the latest
c8y-ticketing-integration-setup-widget-{version}.zipfile from the Releases section. - Make sure you have Application Builder app installed.
- Open a dashboard.
- Click
more.... - Select
Install Widgetand follow the instructions.
- Make sure you have successfully installed the widget.
- Click on
Add widget. - Choose
Ticket Integration Setupwidget. Titleis the title of widget. Provide a relevant name. You may choose to hide this. Go toAppearancetab and chooseHiddenunderWidget header style.Platformis ticketing platform.- Choose
webMethods AgileAppsto integrate with webMethods AgileApps directly.Tenant urlis base url of ticketing platform. It must not end on '/'. Example: https://testtenant.agileappslive.comUsernameis username of AgileApps tenant account.Passwordis password of AgileApps tenant account.Account idis customer account record id to which all the tickets created will be related to.
- Choose
External REST APIsto integrate with any ticketing platform using custom integration.Tenant urlis base url of custom APIs. It must not end with '/'.Usernameis username of user account to access the APIs using basic authentication.Passwordis password of user account to access the APIs using basic authentication.Download Swaggerto download the swagger file. Swagger file define the APIs that are expected by Ticketing Integration Microservice.
- Choose
Ticket record template urlis the template url for ticket record in the ticketing platform. Ticket id is defined by '{id}' placeholder which gets replaced by actual ticket id. Example: https://testticketingplatform.com/records/{id}.Create tickets automatically on device alarm mapping matchedcontrols whether tickets should be created automatically on alarm creation or not.Change alarm status to ACKNOWLEDGE automcatically after creating ticketcontrols whether to change alarm status to 'Acknowledge' automatically after ticket creation or not.- Click
Save configurationto save ticketing platform configuration. - Add or remove
Device Alarm Mappingsand click Save Mappings buttons. Mappings means for which device id and alarm type ticket needs to be created. Maximum total ticketsis how many total tickets need to be fetched from the ticketing platform.Tickets page sizeis how many tickets need to be shown in the table at once.- Add and remove
Chart colorsfor tickets by priority, tickets by status and tickets by device charts. - Click
Saveto add the widget on the dashboard. - In case you see unexpected results on the widget, refer to browser console to see if there are error logs.
- Clone the repository on local machine using
git clone https://github.com/SoftwareAG/c8y-ticketing-integration-setup-widget.git. - Run
npm installto download the module dependencies. - Install c8ycli
npm install -g @c8y/cliif not already. - Run
c8ycli server -u https://your_tenant_urlto start the server. - Go to
http://localhost:9000/apps/cockpit/in the browser to view and test your changes. - (Optional) push the changes back to this repository.
- Finish the development and testing on your local machine.
- Run
gulpto start the build process. Runnpm install -g gulpto install gulp if not already. - Use
c8y-ticketing-integration-setup-widget-{version}.zipfile in thedistfolder as a distribution.
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
For more information you can Ask a Question in the TECHcommunity Forums.
You can find additional information in the Software AG TECHcommunity.
