How to add cross-project link? (OD-1628)
wojtek opened 2 years ago

We have defined a couple of link types (as per https://docs.onedev.io/tutorials/issue/issue-links). In general linking within project works fine but we can't figure out how to link to issues in different projects (though there are such links after importing!)

I tried:

  • pasting complete URL
  • pasting <project_id>#<issue_id>
  • pasting <full_project_path>/<project_id>#<issue_id>
  • Robin Shen commented 2 years ago

    The syntax to refer to issue in another project is <full project path>#<issue number>

  • wojtek commented 2 years ago

    Hmm... indeed it works - not sure it didn't. Copying "reference link" did it, though I had to remove "issue" prefix -- maybe it could be removed as well as part of onedev/server#1627 ?

    EDIT: could it also work with only project#number listing all matching project from all subprojects?

  • Robin Shen changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 2 years ago

    maybe it could be removed as well as part of onedev/server#1627

    Already removed via that issue fix

    could it also work with only project#number listing all matching project from all subprojects?

    The syntax project#number is reserved for issue references.

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-1628
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover