Content
View differences
Updated by Marc Alcobé almost 4 years ago
**As** a user _\[enter role of user\]_
**I want to** link an existing file from Nextcloud to a OpenProject work package _\[enter objective\]_
**so that** I can keep track of the files related to my work packages directly from OpenProject _\[enter desired result\]_
## **Acceptance criteria**
* The file picker specified in <mention class="mention" data-id="43654" data-type="work_package" data-text="#43654">#43654</mention> needs to be fully functional to be able to complete this flow. _\[enter acceptance criteria\]_
* The process of linking an existing file should be the next:
1. The user clicks on the link "link existing files" on the files tab:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37164/content">
2. User needs to select all the files needed (in multiple levels of navigation):
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37165/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37168/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37167/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37166/content">
3. Click on the "Link files" button in the action bar.
4. A success message appears on top of the screen as a tooltip (like in attachments).
* In case the user clicks on the cancel or outside the modal (50% black area) all the selection is canceled and the modal its closed.
## Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=2439%3A71824 _..._
**I want to** link an existing file from Nextcloud to a OpenProject work package
**so that** I can keep track of the files related to my work packages directly from OpenProject
## **Acceptance criteria**
* The file picker specified in <mention class="mention" data-id="43654" data-type="work_package" data-text="#43654">#43654</mention> needs to be fully functional to be able to complete this flow.
* The process of linking an existing file should be the next:
1. The user clicks on the link "link existing files" on the files tab:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37164/content">
2. User needs to select all the files needed (in multiple levels of navigation):
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37165/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37168/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37167/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/37166/content">
3. Click on the "Link files" button in the action bar.
4. A success message appears on top of the screen as a tooltip (like in attachments).
* In case the user clicks on the cancel or outside the modal (50% black area) all the selection is canceled and the modal its closed.
## Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=2439%3A71824