Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to understand error of web panel module?

shital chande September 8, 2019

Hi,

I am using a web panel module and that showing error.
screen shot->

Screenshot_6.png

Error : Error rendering ‘com.vps.jira.plugin.Archiving-Attachment:archiving-indicator’. Please contact your Jira administrators.

ArchivingIndicator.java ->
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);
log.error(currentIssue+"@@@***");
return contextMap;
}
else
{
return contextMap;
}}

using JIRA 7.13.0.
anyone help me I don’t understand why an exact error has occurred?

 

0 answers

Suggest an answer

Log in or Sign up to answer