Expand description
A task’s priority and labels (C0 2.2 E47): the order of work on a board.
- Priority is
highornormal(absent on the wire meansnormal); labels are at most 16 unique[a-z0-9-]{1,32}. A wrong value is refused here, before any request. - A write is a
PATCHat the task’sfields_version. When another write came first (409 stale_base) the task is read again and the write is sent once more at the new version; a second conflict is shown. - Lists show
highbeforenormal, then by number.
Structs§
- Fields
Change - What a priority or labels write changes;
Nonekeeps the field.
Functions§
- parse_
labels - Labels from
a,b,c(spaces around a label are dropped, an empty value is no labels), validated as Cloud validates them. - parse_
priority highornormal, exactly; anything else is refused with what is allowed.- priority_
word - The wire word of a priority (
normalwhen absent). - rank
0forhigh,1fornormal(and absent).- set_
fields - Set task
number’s priority and/or labels in the project’s vault. - sort_
by_ priority - The board order:
highfirst, then by number.