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!
Using Program notifications, PowerShell and the JiraPS module by Atlassian, you should be able to tinker with Jira in various ways :)
Stephan Linke, Tech Support Team
FYI: JiraPS is not made by Atlassian, but by a non affiliated open source community.
Stephan, podrias poner un ejemplo?
Stephan, could you give an example?
Unfortunately, an example is somewhat far fetched. What exactly would you like to do/automate?
thanks for answering.
I am trying that when an error alert is activated, send an email to jira, to a certain project and component
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.
I am not interested in the issue being closed automatically, since I want the itops team to review what happened
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