Content
View differences
Updated by Jan Sandbrink 13 days ago
**As** a user
**I want to** add and remove wiki page links to a work package
**so that** I have quick references tied to that work package.
**Acceptance criteria**
* The user must be able to search an existing wiki page and link it to the work package.
* The user must be able to create a new wiki page in the wiki hierarchy structure and link it to the work package.
* Relation wiki page links must be displayed in the wiki tab of a work package.
Technical information
* ~~Create/Delete Create/Delete a wiki page link at XWiki:~~ XWiki:
* `~~POST /wikis/{wikiName}/openproject/documents/{id}/links~~` `POST /wikis/{wikiName}/openproject/documents/{id}/links`
* `~~DELETE /wikis/{wikiName}/openproject/documents/{id}/links~~` `DELETE /wikis/{wikiName}/openproject/documents/{id}/links`
* Creating a wiki page:
* `PUT /wikis/{wikiName}/spaces/{spaceName}[/spaces/{nestedSpaceName}]*/pages/{pageName}`
**I want to** add and remove wiki page links to a work package
**so that** I have quick references tied to that work package.
**Acceptance criteria**
* The user must be able to search an existing wiki page and link it to the work package.
* The user must be able to create a new wiki page in the wiki hierarchy structure and link it to the work package.
* Relation wiki page links must be displayed in the wiki tab of a work package.
Technical information
* ~~Create/Delete
* `~~POST /wikis/{wikiName}/openproject/documents/{id}/links~~`
* `~~DELETE /wikis/{wikiName}/openproject/documents/{id}/links~~`
* Creating a wiki page:
* `PUT /wikis/{wikiName}/spaces/{spaceName}[/spaces/{nestedSpaceName}]*/pages/{pageName}`