In JIRA server I have used the package com.atlassian.jira.config.FeatureManager to check if Project Centric Navigation is enabled.
Is there any package available for connect addons to check the same ?
Community moderators have prevented the ability to post new answers.
Thanks James!
Update:
since JIRA 6.4, PCN is on by default, and is switched off by a dark feature, so the appropriate condition block is now:
EDIT: the original code sample had an error
"conditions": [{ "condition": "feature_flag", "invert": true, "params": { "featureKey": "com.atlassian.jira.projects.ProjectCentricNavigation.Disabled" } }]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can add the following condition to your module:
"condition": { "condition": "feature_flag", "params": { "featureKey": "com.atlassian.jira.projects.ProjectCentricNavigation" } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please mention a way to make a check in client or the server code to know if this feature is enabled ? For Jira sever I have used java featureManager package to get this information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This condition seems always "false". I have tested with my AddOn, the project Tab is hidden when this feature is enabled. But it keeps hidden when this feature is disabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.