I have been successfully querying projects and issues from JIRA. but i get an error when i try to create an Issue. Below is the data that i am trying to post to rest/api/2/issue endpoint
"{\"fields\":{\"description\":\"test\",\"issuetype\":{\"name\":\"Bug\"},\"project\":{\"key\":\"TSTB\"},\"summary\":\"this is a test\"}}"
Can anyone help identify what's wrong with the above syntax?