Getting an error in creating remote link in Jira as :An error occurred whilst rendering this message?

When firing URL http://localhost:8060/rest/api/latest/issue/SR-1/remotelink I am sending the following json:

{

"globalId":"http://localhost:8080/flex/MainApp.html?schid\u003d1",

"application":{

"type":"com.thed.abc",

"name":"Abc testcase"

},

"relationship":"Abc testcase",

"object":{

"url":"http://localhost:8080/flex/MainApp.html?tcid\u003d3",

"title":"3",

"summary":"Untitled (Sample Project/Release 1.0/c1/p1)",

"status":{

"resolved":false,

"icon":{

"url16x16":"http://abc.net/includes/icons/status1.png",

"title":"Pass",

"link":"http://localhost:8080/flex/MainApp.html?schid\u003d1"

}

}

}

}

I am able to create Issue link in Jira, but Jira is not able to render tha image given in icon tag url16x16":"http://abc.net/includes/icons/status1.png. Following stack trace occurs:

ERROR admin 696x2541x1 pb0jhw 0:0:0:0:0:0:0:1 /browse/SR-1 [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.google.template.soy.tofu.SoyTofuException: In template JIRA.Template.Util.Issue.Status.iconStatus: In 'print' tag, expression "$name" evaluates to undefined.

com.google.template.soy.tofu.SoyTofuException: In template JIRA.Template.Util.Issue.Status.iconStatus: In 'print' tag, expression "$name" evaluates to undefined.

at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341)

at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300)

at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56)

at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427)

at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:111)

at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:40)

at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:33)

at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:26)

at sun.reflect.GeneratedMethodAccessor393.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381)

at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370)

at com.atlassian.velocity.htmlsafe.introspection.AnnotationBoxingMethod.invoke(AnnotationBoxingMethod.java:26)

at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30)

at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)

at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)

....................

3 answers

It is actually related to the icon link as covered on this issue: https://jira.atlassian.com/browse/JRA-37554

This is fixed on version 6.3.1

Cheers!

Fixed in version 6.3.1, Thanks!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,864 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot