I need to integrate a customer PRTG (Ver 18) with his customer Jira Service Desk platform. Can I send notification messages to Jira? Any API as to red o capture notifications and open a Jira ticket? Thank you!


Article Comments

Using Program notifications, PowerShell and the JiraPS module by Atlassian, you should be able to tinker with Jira in various ways :)


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Dec, 2018 - Permalink

FYI: JiraPS is not made by Atlassian, but by a non affiliated open source community.


Feb, 2021 - Permalink

Stephan, podrias poner un ejemplo?


Stephan, could you give an example?


Jan, 2022 - Permalink

Unfortunately, an example is somewhat far fetched. What exactly would you like to do/automate?


Feb, 2022 - Permalink

thanks for answering.

I am trying that when an error alert is activated, send an email to jira, to a certain project and component


Feb, 2022 - Permalink

Well you would use New-JiraIssue for this, including the previous authentication against your Jira instance. Example:

New-JiraIssue -Project "PRTG" -Type "Bug" -Summary "Test issue" -Credential (Get-Credential)

Note that it's difficult to have the issue in Jira linked back to PRTG, i.e. you would need to add a comment or tag to the Sensor with the returned JIRA issue ID, so you can automatically close the issue in Jira once the Sensor is up again. Perhaps NodeRED would also be suitable for this as it has a JIRA node as well as various HTTP ones.


Feb, 2022 - Permalink

I am not interested in the issue being closed automatically, since I want the itops team to review what happened


Feb, 2022 - Permalink

Then it would just be to create the new issue via the New-Issue cmdlet as described, in combination with the Execute Program notification. Make sure to follow our guide for PowerShell based custom Sensors. Step one is completely required, installation of the script would be done by copying it to C:\Program Files (x86)\PRTG Network Monitor\Notifications\EXE


Feb, 2022 - Permalink