gitea icon indicating copy to clipboard operation
gitea copied to clipboard

issues listed in project board need to be updated after them were moved

Open suli3 opened this issue 3 years ago • 6 comments

  • 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

  1. Set up )W9{FKQK@@H9Q39 0OLQR%P

  2. move issue1 from To Do, to In Progress DTK~C7~}PWM{82DPWYSAO0J

  3. 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 M( L3S %(`NM) %WU $QWT

suli3 avatar Nov 10 '20 14:11 suli3

I think, programmable issue transition needed, like jira. Each panel should have option like "ON_DROP_ISSUE" with "programmable" actions, eg:

  1. set label "WIP" if issue dropped to "In Progress"
  2. set label "Need review" and Assign reviewers automatically (or randomly, by predefined list, or better developer by inspect git-blame result in related PR)
  3. discussion should be closed which issue dropped to "Closed"
  4. ... N. more examples?

POPSuL avatar Nov 11 '20 12:11 POPSuL

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 :/

bobemoe avatar Nov 28 '20 16:11 bobemoe

I'm still seeing this as a caching issue. Just confirmed in latest 1.14.0+dev-764

@lunny theme/kanban label?

bobemoe avatar Feb 27 '21 09:02 bobemoe

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

zeripath avatar Mar 03 '21 04:03 zeripath

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.

bobemoe avatar Mar 03 '21 08:03 bobemoe

See also this related issue https://github.com/go-gitea/gitea/issues/14359

tobiasBora avatar Sep 12 '22 14:09 tobiasBora