HI,
Currently when working with the people (custom) fields in ClickUp, the application is required to explicitly send a list of users it wants to have added and removed. This forced the system to keep track of what user ID's are currently assigned to a field. Currently we are storing this information in a cache for quick access.
In our case, we don't care about what users to add or remove. We just want to set a list of ID's and have the ClickUp API figure out what it needs to add or remove in order to match the given set of ID's. See below an example:
Current ID's for (custom) field
[
1,
2,
3
]
Target ID's for (custom) field
[
1,
100,
101
]
Current API usage to get wished result
"value": {
"add": [
100,
101
],
"rem": [
2,
3
]
}
Proposed API usage to get wished result
"value": {
"set": [
1,
100,
101
]
}
The proposed solution would remove the need for services to keep track of currently assigned users and will allow them to simply supply a list of the wished state.