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.
@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:
- You have a numbers column called “priority”
- You assign a number to the different items 1,2,3,4,5 etc. according to priority
- You sort by priority and save
- You change the column value in priority for some item
- 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.