I have created an issue from one user but I am trying to create issues from other user getting error 400 bed request
{"errorMessages":[],"errors":{"customfield_10800":"Account is required."}}
Please help me.
Where you see this error ?
How you create the issue ? Please provide more details.
Looks like an error from a validator.
I am using rest/API/latest/issue API use I have two projects in this creating issues from API my code is working but another project to assign to other user did not create issue saw error details bellowing block in the catch.
this is my code
"{\"fields\":{\"summary\":\"G6- Test Issue Please ignore\",\"description\":\"G6- Test Issue Please ignore\",\"issuetype\":{\"id\": \"1\"},\"project\":{\"id\": \"20701\"},\"customfield_12902\":\"testuser@gmail.com\"},\"customfield_10800\":{\"id\": \"32\"}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using rest/API/latest/issue API use I have two projects in this creating issues from API my code is working but another project to assign to other user did not create issue saw error details bellowing block in the catch.
this is my code
"{\"fields\":{\"summary\":\"G6- Test Issue Please ignore\",\"description\":\"G6- Test Issue Please ignore\",\"issuetype\":{\"id\": \"1\"},\"project\":{\"id\": \"20701\"},\"customfield_12902\":\"testuser@gmail.com\"},\"customfield_10800\":{\"id\": \"32\"}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using rest/API/latest/issue API use I have two projects in this creating issues from API my code is working but another project to assign to other user did not create issue saw error details bellowing block in the catch.this is my code
"{\"fields\":{\"summary\":\"G6- Test Issue Please ignore\",\"description\":\"G6- Test Issue Please ignore\",\"issuetype\":{\"id\": \"1\"},\"project\":{\"id\": \"20701\"},\"customfield_12902\":\"testuser@gmail.com\"},\"customfield_10800\":{\"id\": \"32\"}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using rest/API/latest/issue API use I have two projects in this creating issues from API my code is working but another project to assign to other user did not create issue saw error details bellowing block in the catch.this is my code
{"fields":{"summary":"G6- Test Issue Please ignore","description":"G6- Test Issue Please ignore","issuetype":{"id": "1"},"project":{"id": "20701"},"customfield_12902":"test@gmail.com"},"customfield_10800":{"id": "32"}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the below valid for that customfield for this project.
"customfield_10800":{"id": "32"}
The error message seems to be due to a required field on create transition.
Can you check the workflow and temporarily remove this validator from the create transition of the workflow. Or use a valid option .
I hope you are not trying this on a production instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.