You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
25-Jul-2019 10:02:22.203 WARNING [https-jsse-nio-443-exec-55] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://jira.**********.uz/rest/issueNav/latest/preferredSearchLayout, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
What could be the problem, please help people who have encountered problems of this type
There is also such a mistake, I understood how it seems to me what the problem was yesterday I added this script to the business process through the script runner:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.event.type.EventDispatchOption
import com.atlassian.jira.issue.fields.CustomField
import com.atlassian.jira.user.ApplicationUser
ApplicationUser currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
def cf = ComponentAccessor.customFieldManager.getCustomFieldObject(11100L); //Наблюдатели
def arrayOfComponents = issue.getComponents();
def userList = getCustomFieldValue(issue,11100L)?:[];
for(def comp in arrayOfComponents){
if(comp.getName()=="ТШТТ"){
userList += [getUser("sh.gaibnazarova")];
}
if(comp.getName()=="ТШТТ"){
userList += [getUser("s.hakimov")];
}
}
issue.setCustomFieldValue(cf, userList.collect{it})
ComponentAccessor.getIssueManager().updateIssue(currentUser, issue, EventDispatchOption.ISSUE_UPDATED, false)
ApplicationUser getUser(String userName){
return ComponentAccessor.getUserManager().getUserByName(userName)
}
def getCustomFieldValue(issue, Long fieldId) {
issue.getCustomFieldValue(ComponentAccessor.customFieldManager.getCustomFieldObject(fieldId))
}
You should provide the actual error that is being printed in your log files -- You know there's a stackoverflow apparently, but you haven't provided your stacktrace for us to see...
Usually a stacktrace points right to the problem.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events