Atlassian connect json webitem condition not working as intended

Karthik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2021

Hello,

I want to conditionally hide a web item in the location “jira.project.sidebar.navigation” for a JSM project when it is not included in my site. I use the condition

{
"condition": "addon_property_contains_context",
"params": {
"entity": "addon",
"propertyKey": "included-service-desks",
"objectName": "ids",
"contextParameter": "project.id"
}
}

And in the app, the “propertyKey” is set via the API “PUT /rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}“.   

I’ve checked that the property is set in Atlassian via “GET /rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}”.

I don’t see the webitem at all in any case. Does someone know what am I doing wrong?

Thanks,

Karthikeyan.

1 comment

Tamar October 30, 2022

I have a similar issue,

do you have any solution?

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events