Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,850
Community Members
 
Community Events
184
Community Groups

How can I limit a query results to 1?

 

3 answers

1 accepted

0 votes
Answer accepted
Robert Massaioli (Atlassian)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 04, 2017

If you use the search REST API you can just set the pagination to 1.

But why do you want this? I don't think that JQL currently supports a limit keyword.

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 10, 2022

Hi @Iko Azoulay ,

unfortunately you can't limit a query through a JQL but just in a REST api.

Fabio

It is a complex answer smile

My first aim is to have context aware boards, meaning when I have a certain board of say epics, I would like to drill down from it to a board of it's tasks/user stories. Since this functionality does not exist, I thought of creating of my own by creating another board with the following query:

lastViewed limit 1. This way when moving from the epic board to the user story board it whould have been easy.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events