Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Addon module page with `project_type` condition fails to install

Chris Carrigan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2019

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?

 

0 answers

Suggest an answer

Log in or Sign up to answer