Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Atlassian connect json webitem condition not working as intended

Edited

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.

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

722 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you