Hello,
I'm getting an error while I'm creating issue by JIRA API:
{"errorMessages":["We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file."],"errors":{}}
Please help
Your json is malformed.
Get an existing issue from the rest api. have a look at the format of the different field in that json. Model your createissue.json according to that format with only the fields present on the create screen and try again.
+1 for support ticket if the situation persists.
I agree with @Danyal Iqbal. Another reason for failing to create an issue via the API is not including all mandatory fields, so please check your Create screen in Jira and make a note of all the mandatory fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To follow @Warren@Danyal Iqbal i will add that you can use
GET /rest/api/2/issue/createmeta
To get all meta required and value allowed to create an issue.
https://docs.atlassian.com/software/jira/docs/api/REST/1000.842.0/#api/2/issue-getCreateIssueMeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.