How to find last one hour jira issue which has remote link from single project using JQL

how to call this jql using REST api?

1 answer

1 accepted

Hi Prashant,

I'm not sure you'll be able to do it with plain JIRA. I'd suggest you try it out first in the issue navigator search, before moving it to a rest call. 

That said, if you want to get JIRA issue updated in the last hour, the query would look like this:

updated >= -1h

Now to get the web link, you can use a plugin like script runner which provides a function called "linkedIssuesOfRemote". With it you can write something like this:

issuefunction in linkedIssuesOfRemote("")

And then combining the two together will result in something like this:

updated >= -1h AND issuefunction in linkedIssuesOfRemote("")

This should get you close to what you are trying to achieve.




Thanks...It works for me.

I want fetch only email address and summary in json using jql rest instead of fetching whole json.


how to do that? 

not particular issue, I want to find the list of all these which has remote link

This query should not limit you to one link, but it will only give you the issues updated in the last hour as you requested.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

43 views 0 3
Read article

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