I am working on a plugin for Jira Cloud and am trying to add a new page specific to a given project. Based on the information for conditions on the "Pages" documentation https://developer.atlassian.com/cloud/jira/platform/modules/page/ I should be able to use the Jira condition `project_type`, however, when I add it to my descriptor file like this
"conditions": [
{
"condition": "user_is_logged_in"
},
{
"condition": "project_type",
"params" : {
"projectTypeKey": "service_desk"
}
}
]
it fails to install with the error
Installation failed. The app includes a Page module with an unsupported condition (project_type).
My question is, did I miss something about how to add conditions, or about how to use the page conditions, or is it really not allowing what is listed in the documentation?