Skip to content

[Enhancement] KanBan: Save Order Of Issues on Boards #11161

Closed
@6543

Description

@6543

Add a filed ProjectBoardOrder or use Priority from/to Issue struct.
0 = default
highest number is on the top of the list ...

thoughts how to impement the backend:

issue with prio 4 -> 2:
new prio is lower so "Update prio=prio+1 where issue.project_id= .... and prio >= 2 and prio < 4"
issue with prio 3 -> 7:
else "Update prio=prio-1 where issue.project_id= .... and prio > 3 and prio <= 7"
x.ID(issue.id).UpdateCol(prio=newPrio)

Pseudo code don't take it to serious

Blocked by #8346

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/projectstype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions