Bad Requestbody: [errorMessages:, errors:[assignee:Field 'assignee' cannot be set. It is not on the appropriate screen, or unknown.]]2017-11-08 08:30:26.864 ERROR - Please use the ScriptRunner user to complete this task not the Initiating User.
body: [errorMessages:, errors:[assignee:User 'Paul Davis' does not exist.]]
I have impelmented the script runner and updating the assignee at 2 different transitions of the workflow -
one is at the issue creation where getting the error message as -
2017-11-09 09:55:34.139 WARN - PUT request to /rest/api/2/issue/150226 returned an error code: status: 400 - Bad Request body: [errorMessages:, errors:[assignee:User 'Andreas, Elise C' does not exist.]]
But the user is present .
Second at the time of validation getting the error message as -
body: [errorMessages:, errors:[assignee:Field 'assignee' cannot be set. It is not on the appropriate screen, or unknown.]] 2017-11-09 09:56:43.972 ERROR - Please use the ScriptRunner user to complete this task not the Initiating User. See https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-editIssue for more information. If you are using the ScriptRunner user then check the Field Configuration
But the assignee field is present at the issue screen and is editable also.
That error message can be a little misleading. Technically, it is probably right - the field does not appear on the screen, but it's not because the field is not included in the screen, it's because the user you have logged in as does not have "assign issue" permission. That hides the field from them, hence the "field not on screen" being correct, but not telling you the actual problem.
First, check if this user is an active user.
Second, the assignee field need to appear in the view, create and edit screen.
Finally, check if you have defined the assignee in the script like that:
def result = put(
assignee : [
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs