Forums

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

Using R4J plugin, I'm unable to display the project field of a linked issueson a Word template

Laurent PIANFETTI
November 2, 2023

Hello.

I'm trying to generate a specification document from my R4J Tree and I'm facing a issue when, for each issue of the tree, I try to display and use the project of a linked issue : null exception in the generated document.

Here is the extract of my template that generates the issue :

[[\if $.linkedissues.count > 0]]Linked requirements:
[[\variable.link_requirement ‘TRUE’]][[/variable]]
[[\each $.linkedissues]]
[[\if $.name = “contributes to”]]
Contributes to “[[$.issue.summary]]” ([[$.issue.key]]) [[$.issue.project]]
[[\\wiki $.issue.description]] [[/wiki]]
[[\variable.link_requirement ‘FALSE’]][[/variable]]
[[/if]]
[[/each]]
[[\if $variable.link_requirement = ‘TRUE’]]
None.
[[/if]]

Thank for your help

1 answer

0 votes
Silviu Burcea
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.
October 6, 2015

Hi Pawel,

 

The SIL support for JSD fields, like SLA, is not available yet. If you get a JSON, you may want to write some JSON processing routines. The simplest way to go, if the JSON is not big/complicated, is to capture the information using a Regular Expression. Eventually, Kepler team may add some JSON processing routines too, you should ask them about it.

 

Regards,

Silviu

Paweł Peryga
October 8, 2015

Thank You for quick answer!

 

Best regards,

Pawel

Suggest an answer

Log in or Sign up to answer