Hello,
I'm currently building a Jira Addon using the app descriptor and I'm not able to understand the user doc concerning the way to use conditions. My goal is to display the menu if a user in a particular group. In my case, I created a group "KPI_administrators". This group defined weather a user should access the admin panel of the addon.
https://developer.atlassian.com/cloud/jira/platform/conditions/#property-conditions
For now, I tried this
"adminPages":[ { "name": { "value": "Admin" }, "url": "//dashboard?admin=true", "key": "dropdown-1-2", "location": "my-dropdown/dropdown-section-1", "weight": 2, "conditions": [ { "condition": "entity_property_contains_any_user_group", "params": { "entity":"user", "propertyKey":"groups.items", "objectName": ["administrators"] } } ] } ],
Which is definitely not the way to do it.
Thanks,
David