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

1 accepted

0 votes
Answer accepted
Bharadwaj Jannu
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 11, 2013

1# In plain Jira, this is not possible. See https://jira.atlassian.com/browse/JRA-846 there is a work-around mentioned in the issue I linked, using a custom-field.

see http://brokenbuild.net/subcomponents-for-jira/

and https://marketplace.atlassian.com/plugins/net.brokenbuild.subcomponents but it is not a freeware.

2# If you use GreenHopper, I believe something like this is made possible there, see https://confluence.atlassian.com/display/AGILE/Setting+Up+a+Component+Hierarchy

No configuration and almost no maintenance needed, and it still gets the job done.

Bharadwaj Jannu
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 11, 2013

try with other browser regarding not viewing of all componets.

Matthias Tietz
November 11, 2013

Hi Bharadwaj Jannu,

Thank you for your reply. I normally use Firefox. Also by using Chrome or InternetExplorer only the first 15 components are displayed. Then something like "278 more options. Continue typing ..." is shown in the list.

Nevertheless I will accept your answer due to the fact that there exists plannings to support subcomponents. In this case we will be able to modify our component structure.

Suggest an answer

Log in or Sign up to answer