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

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