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

This widget could not be displayed.

Similar issue was raised in https://jira.atlassian.com/browse/JRA-35156

This widget could not be displayed.

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!

This widget could not be displayed.

Fixed in version 6.3.1, Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

200 views 1 3
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