The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

emre
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Rudy Holtkamp
Community Champion
December 3, 2024

Hi @emre ,

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

 

emre
Contributor
December 4, 2024

Thank you.

Like Rudy Holtkamp likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events