In FORGE, I want to display a jira issue panel if entity property of App is set and Entity property for Project is set.
This was quiete easy with connect with “conditions” in atlassian-connect.json.
Question 1:
How do i set App level properties and Project level properties.
I can see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties/#api-rest-forge-1-app-properties-propertykey-put for setting up app entity property. Also this is Experimental, so i can not use in production.
There is no API to set entity property at Project level.
Is there any other way or API available to do this?
Question 2:
How to show hide jira issue panel?
If i am not able to set the entity properties, i will not be able to use displayConditions
entityPropertyExists
entityPropertyEqualTo
entityPropertyContainsAny
entityPropertyContainsAll
and
jiraExpression
is available with with App and User context variables as per https://developer.atlassian.com/platform/forge/manifest-reference/display-conditions/jira/
Question is how can I show or hide jira:issuePanel
based on condition at app level and project level?