gitea
gitea copied to clipboard
issues listed in project board need to be updated after them were moved
- Gitea version (or commit ref): 1.14.0+dev-12-gcb171dbd5
- Git version:2.29.2
- Operating system: gitea.com
- Database (use
[x]
):- [ ] PostgreSQL
- [ x] MySQL
- [ ] MSSQL
- [ ] SQLite
- Can you reproduce the bug at https://try.gitea.io:
- [ x] Yes (provide example URL)
- [ ] No
- Log gist:
Description
I found that maybe the status/position of the issues listed in project board need to be updated after them were moved.
Screenshots
-
Set up
-
move issue1 from To Do, to In Progress
-
Click into the issue and then back to the project board, the issue1 change back to To Do. It should be still in the In Progress
I think, programmable issue transition needed, like jira. Each panel should have option like "ON_DROP_ISSUE" with "programmable" actions, eg:
- set label "WIP" if issue dropped to "In Progress"
- set label "Need review" and Assign reviewers automatically (or randomly, by predefined list, or better developer by inspect git-blame result in related PR)
- discussion should be closed which issue dropped to "Closed"
- ... N. more examples?
I think the issue reported by @suli3 is a caching issue. I can recreate it here in firefox using the 3 steps described in OP, and I would suggest step 4: refresh the page and see that the issue then appears "In Progress" as is should be.
I don't think the suggestion by @POPSuL would actually help here, however it is a brilliant idea and probably needs its own issue? In fact I thought there was one about changing labels on issues as they are moved around project boards, but I cant find it now :/
I'm still seeing this as a caching issue. Just confirmed in latest 1.14.0+dev-764
@lunny theme/kanban label?
The likely issue here is one that the ajax request to update the board of the issue has not completed before you click away and thus the change is cancelled
In my experience of this the change is actually saved as expected. When it's displaying in the wrong column, just refresh the page to see it move to where it should be, see my comment https://github.com/go-gitea/gitea/issues/13498#issuecomment-735253270
I think the issue reported by @suli3 is a caching issue. I can recreate it here in firefox using the 3 steps described in OP, and I would suggest step 4: refresh the page and see that the issue then appears "In Progress" as is should be.
See also this related issue https://github.com/go-gitea/gitea/issues/14359