How can I use jira expression for issue view display conditions?

emre
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!
December 2, 2024

 

Hello, according to the document, we can use jira expression in the display conditions object(1), but I could not see an example and I implemented it according to the document, but I got such an error in the manifest and my usage is like this (2). I would appreciate if you can help me how to do this correctly. Have a good day.

1- https://developer.atlassian.com/platform/forge/manifest-reference/display-conditions/jira/#issue-view-conditions

2- "jiraExpression" property is not allowed. It is my manifest file.

jira:issueActivity:
- key: trial
resource: main
resolver:
function: prj-settings-resolver
title: trial
icon: resource:main;icons/bug-search.svg
displayConditions:
jiraExpression: app.properties['issueViewConfig'] == "app"
- key: second
resource: main
resolver:
function: prj-settings-resolver
title: second
displayConditions:
jiraExpression: app.properties['issueViewConfig'] == "app" and also my scopes are 
scopes:
- storage:app
- read:jira-user
- read:jira-work
- write:jira-work
- manage:jira-configuration
- read:permission:jira
- write:app-data:jira
- read:app-data:jira
- read:jira-expressions:jira

1 answer

0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2024

Hi @emre ,

You better post your development questions here: 
https://community.developer.atlassian.com/

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events