You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.