Forums

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

Smart value use of "{{#if ... }} does not seem to work

Richard Bos
Contributor
February 7, 2021

Which Jira-server version supports the use of smart value: "{{#if ... }}  text {{/}}, or is this a Jira-cloud only functionality ?

I would like to use this in a reminder email, that is sent to two people, using as source two different people fields.  However sometimes the two fields holds the same person, resulting in an email with twice the same name.  That looks a little odd.

To prevent this, I thought let's use this construct:

{{#if(issue.assignee.equals(issue.coordinator))}}
  Name 1,
{{/}}

But this does not work.

the {{#if  }} is shown here:

But it looks like functionality for the Jira cloud version.

Is there a way to similar functionality in Jira-Server?

 

1 answer

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 10, 2013

I didn't completly get the question, but my guess is that you are missing the usage of Project Roles.

Define project roles, and use them in the project permissions schemes. Once done, the project admins can decide who is in which role which essentially means they can manage who has permissions to their projects.

https://confluence.atlassian.com/display/JIRA/Managing+Project+Roles

Brent F.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2013

Thanks Renjith for your response. We are using project roles, but when a project admin adds another user, doesn't that user also have to exist in a global permissions group?

Suggest an answer

Log in or Sign up to answer