Display conditions
Using display conditions, you can control the visibility of your application modules in the UI.
Display conditions only control the visibility of the application and cannot restrict access to sensitive data.
Operators
Display conditions supports the following logical operators:
and
or
not
Example
This example shows that the application will be displayed when one of the following conditions is met:
- The item type is Epic or Bug.
- The workspace key is TEST and the tenant is osc.
itemPanel:
- key: hello-world-panel
displayConditions:
or:
itemType:
- Epic
- Bug
and:
workspaceKey: TEST
not:
tenant: osc
Supported attributes
Currently, four attributes are supported and only take effect in the team module.
name | type | description |
---|---|---|
tenant | string | string[] | tenant key |
workspaceKey | string | string[] | workspace key |
itemType | string | string[] | itemType key |
itemId | string | string[] | item Id |
tenant
Supported in all team modules
workspaceKey
Supported in the following team modules
- workspacePage
- itemAction
- itemPanel
- itemActivity
- viewAction
itemType
Supported in the following team modules
- itemAction
- itemPanel
- itemActivity
itemId
Supported in the following team modules
- itemAction
- itemPanel
- itemActivity