Forums

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

How to find JIRA JQL max 10 issues

Urmo Luts February 21, 2018

Hi

Is it possible to limit JIRA JQL find only random 10 or last 10 issues?

project = KP AND created >=  startOfDay("-24h") and status = "Resolved (SD)" 

Right now it find all issues what are created -24hours and status Resolved but i like to find only random 10 issues for NPS Survey

1 answer

0 votes
Thomas Deiler
Community Champion
February 21, 2018

Dear @Urmo Luts,

I don't no of any Jira feature in the UI but you can do:

  • use the filter gadget on dashboard an show only 10
  • or you use the REST API with parameter maxresults=10.

so long

Thomas

Urmo Luts February 28, 2018

Maybe it is to hard to tell but i think that is it possible that i create custom field "NPS algnumber" where i give every day at 00:01 value 1 (Automation JIRA i set every day same value = 1).

Then i create another custom field "NPS number" what get value from "NPS algnumber" field and with workflow transition i give value:

  1. The value of the field NPS number will be increased by 1 unit.

Then i was thinking that i change "NPS algnumber" from "NPS number" increase by 1 unit. It should be 2. But it wont write over it :(

My idea is that i make one field what counts form 1 to 10. When same day NPS survey have send out surveys no more will send out. But right now i dont have idea, how to really create it so it will work...

Any idea?

Thomas Deiler
Community Champion
February 28, 2018

Dear @Urmo Luts,

nop - sorry - I am not familiar with "Automation for Jira". But if you manage to alter one field only for the latest 10 then you can adapt your JQL to this custom field.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events