Content
View differences
Updated by Niels Lindenthal over 2 years ago
**s** **As** an administrator
**I want to** activate and deactivate a custom field for multiple projects in one step (in one view)
**so that** I don't have to go to each project to activate and deactivate a custom field.
###
**Acceptance criteria**
* There In the administration it is possible to see in which projects a new tab "Projects" in the following views: custom field is activated
* Administration -> Project Attributes -> _<Project attribute A>_
* Administration -> Custom fields -> Work for work packages -> _<Custom field A>_
* Administration -> Work packages -> Type -> _<Type A>_
* Project attributes
* In the tab "Projects" all Custom fields for projects are listed where the custom field/project attribute is activated.
* The list is similar to the existing project list.
* Parent projects which are not active are not shown. This is the similar approach like we do in the project list when a user is not allowed to see all projects.
* For I can activate and deactivate each active project there is an action which allows to deactivate the project, e.g. a button or a checkbox - whatever is easy to implement and complies with Primer.
* Above the list there There is a button "select projects".
* It opens a menu similar to the "include projects". helper
* Filter: All projects | Only selected Select all
* Primary button: Apply
Deselect all
* Secondary button: Clear selection
* Checkbox: Include all sub projects
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/57134/content"></div><figcaption class="op-uc-figure--description">Additional tab to select We base everything on the projects</figcaption></figure> code and pattern from the Type Administration
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/92062/content"></div><figcaption class="op-uc-figure--description">Project selection modal (similar to &amp;quot;Include projects&amp;quot;)</figcaption></figure> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/57134/content">
**I want to** activate and deactivate a custom field for multiple projects in one step (in one view)
**so that** I don't have to go to each project to activate and deactivate a custom field.
###
**Acceptance criteria**
* There
* Administration -> Project Attributes -> _<Project attribute A>_
* Administration -> Custom fields -> Work
* Administration -> Work packages -> Type -> _<Type A>_
* Project attributes
* In the tab "Projects" all
* The list is similar to the existing project list.
* Parent projects which are not active are not shown. This is the similar approach like we do in the project list when a user is not allowed to see all projects.
* For
* Above the list there
* It opens a menu similar to the "include projects".
* Filter: All projects | Only selected
* Primary button: Apply
* Checkbox: Include all sub projects
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/57134/content"></div><figcaption class="op-uc-figure--description">Additional tab to select
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/92062/content"></div><figcaption class="op-uc-figure--description">Project selection modal (similar to &amp;quot;Include projects&amp;quot;)</figcaption></figure>