I have added display conditions in manifest.yml
displayConditions:
or:
not:
entityPropertyExists:
entity: app
propertyKey: apps-key
and:
entityPropertyEqualTo:
entity: app
propertyKey: apps-key
value: "false"
entityPropertyEqualTo:
entity: project
propertyKey: pro-key
value: "true"
and:
entityPropertyEqualTo:
entity: app
propertyKey: apps-key
value: "true"
or:
not:
entityPropertyExists:
entity: project
propertyKey: pro-key
entityPropertyEqualTo:
entity: project
propertyKey: pro-key
value: "false"
It gives me error
manifest.yml failed to parse content - Map keys must be unique valid-yaml-required
Error: Command failed due to validation error.
https://developer.atlassian.com/platform/forge/manifest-reference/display-conditions/entity-property-conditions/#usage-of-complex-display-rules here it is mentioned that it works for jira. I am using all jira modules in the file.
I also tried
and:
entityPropertyEqualTo:
- entity: app
propertyKey: apps-key
value: "false"
- entity: project
propertyKey: pro-key
value: "true"
and
and:
- entityPropertyEqualTo:
entity: app
propertyKey: apps-key
value: "false"
- entityPropertyEqualTo:
entity: project
propertyKey: pro-key
value: "true"
it gives error
error Display conditions of the "forge-app-issue-panel" module are invalid.
"entityPropertyEqualTo" property must be object. valid-document-required
How to write these conditions?