It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to solve rendering error?


I am using a web panel module and that showing error.

screen shot->Screenshot_5.png



 <component-import key="templateRenderer" interface="com.atlassian.templaterenderer.TemplateRenderer"/> <!-- templateRenderer velocity-renderer-->
<web-panel name="ArchivingIndicator" i18n-name-key="" key="archiving-indicator" location="atl.jira.view.issue.right.context" weight="1000">
<description key="archiving-indicator.description">The ArchivingIndicator Plugin</description>
<context-provider class="com.vps.jira.plugin.ArchivingIndicator"/><!-- archiving-indicator -->
<resource name="view" type="velocity" location="/templates/archiving-indicator.vm"/>
</web-panel> ->

 public Map<String,Object> getContextMap(ApplicationUser user, JiraHelper jiraHelper)
String get=Optional.ofNullable("myinput").orElse("");
Map<String, Object> contextMap = Maps.newHashMap();
//Map contextMap = new HashMap();
Issue currentIssue = (Issue)jiraHelper.getContextParams().get("issue");
CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager();
//CustomField cf = customFieldManager.getCustomFieldObjectByName("Group Picker");
CustomField cf = customFieldManager.getCustomFieldObject("Group Picker");
Object val = currentIssue.getCustomFieldValue(cf).toString();
log.error("CustomField VAlue@@@@"+val);
if(val == null || val =="")
contextMap.put("daysAwayFromDueDate", currentIssue);
return contextMap;
return contextMap;

Archiving-indicator.vm ->

#set ($issue = $daysAwayFromDueDate)
#if ($daysAwayFromDueDate != "$daysAwayFromDueDate")
<form name="deArchiveing" action="/plugins/servlet/dearchiving.jspa">
<!-- <span style="font-weight: bold; color: red;">$daysAwayFromDueDate</span> -->
<input id="clickMe" type="submit" value="Unarchive" onclick="DoSubmit();" style="font-weight: bold; color: red;" />
<input type="hidden" name="myinput" value="0" />
<script type="text/javascript">
var issueKey;
function DoSubmit()
issueKey = "$daysAwayFromDueDate";
var currentLocation = window.location;//current page address (URL) and to redirect the browser to a new page.
document.deArchiveing.myinput.value = issueKey+"@"+currentLocation;


using JIRA 7.13.0.

anyone help me i dont understand why exact error is occured?


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Introducing new features for Jira Software Cloud's roadmap

Hi Atlassian community, A few months ago, we offered a sneak peak of the new hierarchy view on the roadmap. Thank you for all the feedback (and excitement) and for helping us shape the direction of...

23,174 views 101 75
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you