Forums

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

How to use app properties in condition expressions?

Magic Box
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!
October 22, 2018

I have stored the app property like this:

test: {string: "string-value", number: 50}

And I want use the jira_expression as condition for my web-panel, for example if:

test.number == 50 show the panel, otherwise the panel is hidden.

What is the right syntax for my expression?

{
"condition": "jira_expression",
"params": {
"expression": "app.properties['test']['number'] == 50"
},
"invert": false
}

 Thanks for help

1 answer

0 votes
Yuriy Harbuziuk
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!
March 25, 2019

It would probably work like this

{
"condition": "jira_expression",
"params": {
"expression": "app.properties['test'].number == 50"
},
"invert": false
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events