{
"fields": {
"project": {
"id": "Scrumbalaji"},
"summary": "TEST JIRA WS TOOL",
"issuetype": {
"name": "Bug"
}
}
}
Hi @Balaji ,
if you are trying to create an issue through a rest api call, please check parameters here https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
Parameter "Project", for example, requires a numeric value.
Hope this helps,
Fabio
Hi Fabio, Thanks for reply.
I have made JMeter setup as below using HTTP Request.
For Login - http://localhost/rest/auth/1/session - Got 200 Response code.
For Create Issue - http://localhost/rest/api/2/issue
Body of Request
{
"fields": {
"project": {
"id": "10100"},
"summary": "TOOL JIRA TEST BY REST",
"issuetype": {
"id": "10004"
}
}
}
Result:
Getting 400 Response code and Response as
{"errorMessages":[],"errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown."}}
I have downloaded latest JIRA 9.3 V.
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.