jojo/tests/integration/fixtures/TestIssueCommentChangeProject/comment.yml
forgejo-backport-action 3bc1ae21ac [v13.0/forgejo] fix: construct project links in timeline better (#9901)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/9872

- When a issue sees a modification regarding to which project they are assigned, then a timeline event is created for this. The link to the project that is constructed for this timeline event incorrectly assumes the project is a repository project.
- Use the `Link` function to construct the link to the project, this will correctly take into account if the project is a org, user or repo project.
- Resolves forgejo/forgejo#9817

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9901
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-10-30 08:57:44 +01:00

35 lines
592 B
YAML

-
id: 10001
type: 30 # project
poster_id: 1
issue_id: 1 # in repo_id 1
project_id: 4 # user-level project
old_project_id: 0
created_unix: 1761222939
-
id: 10002
type: 30 # project
poster_id: 1
issue_id: 1 # in repo_id 1
project_id: 2
old_project_id: 4
created_unix: 1761222939
-
id: 10003
type: 30 # project
poster_id: 1
issue_id: 1 # in repo_id 1
project_id: 4
old_project_id: 2
created_unix: 1761222939
-
id: 10004
type: 30 # project
poster_id: 1
issue_id: 1 # in repo_id 1
project_id: 0
old_project_id: 4
created_unix: 1761222939