Display conditions in Forge jira modules

Hello community,
We are developing a Forge app, that needs to display some module according to some conditions, using app properties, etc.
In connect, it would be something like this:

{
  "condition": "entity_property_equal_to",
  "params": {
    "entity": "app",
    "propertyKey": "property-key",
    "objectName": "property-entry",
    "value": "some_value"
  }
}

Is there a way to implement such condition in the Forge app manifest?

Hi @dberrutti
You can use display conditions in Forge modules. You can read about it more here: https://developer.atlassian.com/platform/forge/manifest-reference/display-conditions/#display-conditions and here:

Let me know if it answers your question.

Best regards,
Paweł

Thanks @PawelRacki , I did see the documentation, but I didn’t see there how to use , for example, app properties in these conditions, like we do in connect apps, as the example I show in the question.
Is there something in the documentation that explains how to do that?

Oh, I slightly misunderstood your question @dberrutti, sorry for that. Currently you can’t target app properties using Forge display conditions. We plan to change it in the future but unfortunately I don’t have any specific timeline I could share with you at the moment. Here is a public ticket [FRGE-582] - Ecosystem Jira you can track for adding this feature to Forge display conditions.

1 Like

Thank you very much @PawelRacki !

1 Like