Доступ к HTTP-запросу может быть выполнен с помощью кода, такого как
HttpServletRequest request = ServletActionContext.getRequest();
if (request == null) {
log.warn("Unable to find a request while creating an issue");
return;
}
String[] values = request.getParameterValues("mykey");
if (values == null || values.length != 1) {
log.debug("Unable to find parameters in the request while creating an issue");
return;
}
String valueString = values[0];
if (valueString == null || valueString.equals("")) {
// Valid if no value was entered
log.debug("Unable to find a value for mykey while creating an issue");
return;
}
Также ознакомьтесь с главой по этому поводу в моей книге О'Рейли "Практические плагины JIRA".