Forge displayConditions under confluence:spaceSettings not working

Hi All,

I’m trying to apply the displayConditions feature to a spaceSettings module using a custom space property, but I can’t get it to work. This is what my manifest.yml looks like (I replaced our actual values with dummy ones, but the capitalization and hyphenation are the same):

...
  confluence:spaceSettings:
    - key: my-module-key
      resource: custom-ui-resource
      resolver:
        function: myresolver
      title: My Module Title
      route: my-module-route
      displayConditions:
        not:
          entityPropertyEqualTo:
            entity: space
            propertyKey: mypropertykey
            objectName: myobjectname
            value: "true"
...

The very same displayConditions settings work fine with a contentBylineItem module. The contentBylineItem module is hidden for all pages in the affected space, but the spaceSettings module still shows up under Space Settings → Integrations.

The documentation of displayConditions states that spaceSettings modules are also supported:

https://developer.atlassian.com/platform/forge/manifest-reference/display-conditions/confluence/

What am I doing wrong?

Thanks,
Gabor

2 Likes

Hello Gabor,
Your manifest.yml looks good. We found an issue with displayConditions support for SpaceSettings module. We are already working on the fix.
I will text you an extra message when the issue is solved.

Thank you

Hello Gabor,
The issue has been resolved. These changes are available for you.

Thanks

Hello Andrii,

I gave it a quick look and now it works as expected. Thank you for the fix!

Regards,
Gabor

1 Like

Hello Andrii,

It seems that the same problem has returned again. I created a bug report: Jira Service Management

Please take a look. Thank you!
Gabor