Forums

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

JMWE - Is it possible to get the value of a project property?

Holly Wood November 13, 2023

Hello.  I am using the JMWE "Set Entity Property value" post-function and would like to pull a value from a project-level entity property.  The value of the project entity property that I am trying to use has only a string value.  (No sub-entities or lists)

2023-11-13_9-54-02.png

I have tried:

{{ project.properties."testproperty" }}

{{ project.properties["testproperty"] }}

{{ project. Properties.testproperty }}

{{ project | projectProperty("testproperty") }}

 

Any ideas on how to pull a project property using Nunjucks?

1 answer

1 accepted

2 votes
Answer accepted
David Fischer
Community Champion
November 13, 2023

Hi @Holly Wood 

you can use this:

{{ issue.fields.project | projectProperty("testproperty") }}
Holly Wood November 13, 2023

Wow!  Fantastic!  That worked.  Thank you very much!

Suggest an answer

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

Atlassian Community Events