Skip to main content

Hello, I’m looking for a way to update order of items in group via API. Is it possible?

Hello there @paulnguyendss and welcome to the community!


I hope you like it here 💪


As of today, there is no way of re-ordering the items inside a board using the API.


Let us know if you have any other questions 🙂


Cheers,

Matias


Thank you for your response. Our app need this API for building an important feature. Hopefully, it’s possible in the future.


Hello again @paulnguyendss,


I will add your vote towards this feature 😀


Cheers,

Matias


@Matias.Monday technically couldn’t you sort a board by a particular column by default then change that through the API?


Hello @dean_m,


What do you mean by “sort by a column by default”?


And change what through the API?


I am not following.


Let’s say column is named ‘priority’…goto board in Browser and click sort on that column and save sort. Then through API change the number value in priority. When a user views that board it should be sorted this way. As far as I know this works for any user subscribed to the board.


Hello again @dean_m,


If I understood correctly what you suggest is:



  1. You have a numbers column called “priority”

  2. You assign a number to the different items 1,2,3,4,5 etc. according to priority

  3. You sort by priority and save

  4. You change the column value in priority for some item

  5. You expect the item to move accordingly because of the sort


If this is the case, I just tested this and it does not work. After you sort by “priority” and save, then when you send the mutation to change the value in “priority” for an item, the items do not get sorted again.


Re-checking if this capability now exists


hi @einavpeleg , if it helps - from 2024-04 you can sort with <relative_to> and <position_relative_method>. read more here


Unfortunately not, but it’s good to know.

Thanks Omer


Related to this request, I confirm a way to know what’s the first/last item in a group is a must-have.


Reply