Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Integrate JIRA with PRTG

Rzuniga May 25, 2021

Hi! Some have integrated jira with PRTG, to the point that a notification template creates a case in jira, either through the JIRA PS module or through an API directly in the template.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 25, 2021

What do you mean by "integrate"?  Could you explain what you want to do with it?

Rzuniga May 26, 2021

I mean that the prtg alerts generate a ticket, I was reading in the forums and I found a solution with Opsgenie, do you know about it?

link Foro:

https://community.atlassian.com/t5/Opsgenie-questions/PRTG-Integration-suddenly-stopped-working-two-nights-ago/qaq-p/1543745

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2021

Opsgenie is a better tool for this than a direct connection.

But you can do it without it - if PRTG can run some code when an alert happens, you can write code that creates Jira issues via the REST API.  Or have PRTG send email to Jira (if you don't want to code)

Rzuniga May 26, 2021

I carry out several tests with the jiraps module, it is in test but if I would like to see other methods to send them for contingency issues, do you have any example of the method that you indicate by email?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2021

For a Service-management project, you probably want to look at the "email channel" for it - https://support.atlassian.com/jira-service-management-cloud/docs/receive-requests-from-an-email-address/ - but, that might not be right for you if you are also gathering human generated requests from email.

For non Service-management projects, you can use email handlers - https://support.atlassian.com/jira-cloud-administration/docs/create-issues-and-comments-from-email/ and because you can use many mailboxes with them, you can give PRTG it's own mail, without affecting your people.

What I don't know though - you might be able to use an email handler with a Service-management project - if you can do that, then you can leave the email channel there for your people while PRTG creates stuff via a different route.  I have never tried to do this though, so I don't know.

Rzuniga May 27, 2021

The email that would be sent to jira should have some special format, or some specification for field tickets ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2021

No, the email handlers are quite simple, and don't do much more than "create or comment".  They take their summary from the subject and the description from the body of the email.  Some can be configured to try to strip conversational replies out.  They'll look at the sender and set that as the reporter, and if you're using mail that supports high/normal/low priority, try to set a priority from that.  And they can do things with cc'd users (add them as watchers).

But they don't have any functions for parsing email to look for possible field data.  

But you can use Automations and scripting on them, the same way you can on issues coming in from a different route (the UI or REST)

You can also write your own email handler, or have a look in the marketplace for more advanced ones (JEMH and JETI are the two I see most often)

Rzuniga November 24, 2021

Nic, you have a example for API code that creates Jira issues via the REST API?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2021

There's a load over at https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/

Note that the Server and Cloud APIs are different, but they have a lot in common - simple issue creation for example, you can use the same calls!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events