when creating issue with the following json sing Rest API , I got error 400 bad request
{"fields" : { "project":{"key":'Prj804255'},"assignee":{"name":"hassan"},"reporter":{"name":"hassan"},"issuetype":{"name":"Bug"},"description":"sdf","summary":"sdf","duedate":"10/10/2010 12:00:00 AM","customfield_10502":"GWA804255-2","customfield_10201":{"value":"Software Engineering"},"priority":{"name":"Major"},"customfield_13906":{"value":"SW - Engineering" ,"child":{"value":"Design"}},"timetracking":{ "originalEstimate":"1w 1d 1h" }} }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll need to show us the rest of what you're doing. Your content looks fine, but a bad request is more likely to be caused by how you are posting, or that you're posting to an end point that does not exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough [Adaptavist] , I'm using post using this URL :
http://jira.company.com/rest/api/2/issue/
and server URL is valid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And the rest of the command?
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.