Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

emre December 2, 2024 edited

 

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/

 

emre December 4, 2024

Thank you.

Like Rudy Holtkamp likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events