Hello!
I’m new to Jira development, and have a question about Dashboard Item conditions.
I created an DashboardItem add-on
(based on Bitbucket). The add-in installed just fine, but the dashboard item was not available to add to my dashboard. (It was not shown on the “Add a gadget” list.)
That example includes a callback-based condition:
"conditions": [
{
"condition": "/condition?view={dashboardItem.viewType}&dashboard={dashboard.id}&dashboardItem={dashboardItem.id}"
}
]
I discovered that when I removed the callback-based condition - for example, replace it with “user_is_logged_in” - it worked.
Looking again at the DashboardItem documentation (https://developer.atlassian.com/cloud/jira/platform/modules/dashboard-item/), I realized the current documentation doesn’t show any examples of callback-based conditions.
It looks like Jira Cloud previously supported callback-based conditions, but no longer does… but I’m new to Jira development, so I’m not certain that I understand this correctly.
Am I interpreting this correctly, that Jira Cloud previously supported callback-based conditions, but no longer does?
If so, is there any documentation or blog post about this? (Since this is a breaking change, and affects pre-existing examples that newbies like me are likely to try…)
Thank you!