How do we do continuous monitor the new JIRA tickets using the JIRA Rest Client library

We need to continuous monitoring of the JIRA tickets .

1 answer

This widget could not be displayed.

There's two parts to this answer

1. What do you want from "monitoring"?

2.  What does "continuous" mean in this context?

The REST API for JIRA is best thought of as a pull process.  You have a system which asks JIRA questions or gives it commands by firing REST requests at it.  This can never match the dictionary definition of "continuous" because your system is going to have to ask for information every X hours/minutes/seconds/whatever.

So, if you're happy to define your "continuous" as something like "every X minutes", you can use the REST API to do things like "list all issues updated since the time I last looked" and process them.

You will run into problems if X is too small though, as you'll be hammering the JIRA with requests

My instinct is to do it the other way around.  Get JIRA to poke your system whenever the things you want to "monitor" happen.

Thanks for the reply. It is a kind of a listener,  listening to the specific project / issue in JIRA to check whether new issues/updates come up . Whenever a new issue comes up, we would read the same .

Ok, the best way to do that is from the other end - on the "create" transition in the workflow, have a post-function that sends information over to your application.

If you have to do it from the outside, then you'll need to write something that polls JIRA with "project = X and created > 'last time I looked'" over the REST API

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

92 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you