Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to exclude "expand, startAt, maxResults, total" from the query result

Hello there !

I have the following query: https://accnetopt.atlassian.net/rest/api/2/search?jql=project=IC AND status = "En Analisis OM" OR status = "En Ajuste OM" &fields=created,issuetype,key,summary,customfield_10048,customfield_10029,status&maxResults=1

This is the result:

1.png

I just want to get all starting by the "issues" field.

Is that possible?

Thanks in advance!

2 answers

1 accepted

1 vote
Answer accepted

Hi @Alex Sebastián Oyazún Figueroa welcome on the community. I don't think you can do it. These are properties which allow pagination of the data.

What is your exact usecase? Why do you need to remove these attributes?

@Martin Bayer _MoroSystems_ s_r_o__ thanks for your answer.

Firstly, i make a query to get the results (330)

Then i make all the needed querys to get all rows (Using startAt) (0 - 100, 100 - 200, 200 - 300, 300 - 400).

Then with a PHP script, i'm having problems to foreach the array to get this keys values:

1.png

 

I thought, deleteing the first part it would be easier to reach that. maybe im wrong :/

Ok, I don't know PHP, but you can access nested elements for sure. I found some stackoverflow topic for PHP:

https://stackoverflow.com/questions/22278419/how-do-i-access-nested-arrays-from-a-json-decode-in-php

0 votes
Prince Nyeche Community Leader Jun 04, 2021

I don't think you can do that. It's standard response. Why do you need to exclude it?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you