Forums

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

How to only applied fragments for only one project

Gary Richardson October 23, 2022 edited

I'd like to add a web panel for more info to one project, but I tried the code '

! (jiraHelper.project?.key in ["project name"]) ', it still show the panel in all my projects. 

1 answer

1 accepted

0 votes
Answer accepted
Florian Bonniec
Community Champion
October 24, 2022

Hi @Gary Richardson 

The condition you are using is displaying the fragments in all projects except projectname

 

Use this instead

 

jiraHelper.project?.key in ["project key"]

Make sure to use the project key and not the project name.

 

Regards 

Gary Richardson October 24, 2022

Thank you. I tried both way but forgot to use the project key. 

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events