Hi,
We’ve noticed that the URL being generated by Jira in the project settings nav is missing certain query parameters when the user viewing it is missing the Browse Projects permission.
The users have Administer Projects and can seemingly view all other items in the nav bar, but clicking on our plugins nav item presents an endless spinner to the user.
Our jiraProjectAdminTabPanels is defined as:
"jiraProjectAdminTabPanels": [
{
"location": "projectgroup2",
"key": "project-forms",
"weight": 200,
"url": "/project/{project.key}/project-forms?projectEnabledExists={condition.entity_property_exists(entity=project,propertyKey=proforma,objectName=enabled)}&projectEnabled={condition.entity_property_equal_to(entity=project,propertyKey=proforma,objectName=enabled,value=true)}&defaultEnabledExists={condition.entity_property_exists(entity=addon,propertyKey=proforma.configuration.default,objectName=enabled)}&defaultEnabled={condition.entity_property_equal_to(entity=addon,propertyKey=proforma.configuration.default,objectName=enabled,value=true)}",
"name": {
"value": "Forms"
}
}
]
When viewing the nav as a user with Browse Projects the URL is:
/plugins/servlet/ac/com.thinktilt.proforma.add-on/project-forms?project.key=ANSDP&project.id=10075&servicedesk.serviceDeskId=60
When viewing the nav as a user without Browse Projects the URL is:
/plugins/servlet/ac/com.thinktilt.proforma.add-on/project-forms?servicedesk.serviceDeskId=60
Note that it is missing the project.key and project.id parameters. When clicking this URL a spinner is displayed to the user until a generic “Something’s gone wrong” error is displayed.
As an aside this is impacting the Project automation nav link too in service desk projects.
When a user with Browse Projects view it the URL is:
/plugins/servlet/ac/com.codebarrel.addons.automation/cb-automation-project-config?project.key=ANSDP&project.id=10075&servicedesk.serviceDeskId=60
But when a user without Browse Projects view it the URL is:
/plugins/servlet/ac/com.codebarrel.addons.automation/cb-automation-project-config?servicedesk.serviceDeskId=60
Again the project.key and project.id are missing and the user sees a spinner.
I don’t recall hitting this problem before, but may have just never tried with this combination of settings. Is there any known issues on this?
This recent thread seems kind of related, but not exactly: Project.key is null randomly
Is anybody experiencing a similar issue? Any known workarounds?