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

Need to orderBy API project/versions Edited

Hello All,

I'm trying to user the orderBy parameter on getting projects versions, but Its not working.

I know that Ordering is not available in all resources/endpoints, I just assume its not working in that since you have the paginated versions.

Any Idea or suggestion?

Thank you in advance

1 answer

1 accepted

0 votes
Answer accepted

I've sorted it out quite simply.

Since those api endpoints does not support orderby parameters on the request.

You can use a reverse()/invert()/... methods depending on your development platform and programming language preferences.

So in my case it was pretty easy adding a .reverse() 

Notice this isnt an ORDER BY behaviour, its just working as LIFO or FIFO

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

937 views 8 25
Read article

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