Error Creating Issue in JIRA
amitpl opened this issue · 2 comments
amitpl commented
Looks like the plugin is broken. The JIRA client is throwing an error
curl 'http://localhost:8080/api/v1/bts/superadmin_personal/4/ticket' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: en-US,en;q=0.9,hi;q=0.8' \
-H 'Authorization: bearer xxx' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Cookie: _ga=GA1.1.1923969307.1657174250; _gid=GA1.1.1632135480.1657174250' \
-H 'Origin: http://localhost:8080' \
-H 'Referer: http://localhost:8080/ui/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw '{"includeComments":true,"includeData":true,"includeLogs":true,"logQuantity":50,"item":6,"fields":[{"fieldName":"Summary","id":"summary","fieldType":"string","required":true,"definedValues":[],"value":["New Issue"]},{"fieldName":"Issue Type","id":"issuetype","fieldType":"issuetype","required":true,"value":["Task"],"definedValues":[],"disabled":true},{"fieldName":"Reporter","id":"reporter","fieldType":"user","required":true,"definedValues":[],"value":["amit.pal@gmail.com"]}],"backLinks":{"6":"http://localhost:8080/ui/#superadmin_personal/launches/all/1/2/6/log?"},"password":"xxx","username":"xxx"}' \
--compressed ;
Response
{"errorCode":40302,"message":"Impossible interact with integration. [ErrorCollectionstatus=400, errors=reporter=Reporter is required., errorMessages=[]]"}
YerassylNurzhan commented
Hi @amitpl
It seems like an issue with validating "Reporter" in your integration
Could you share with us which BTS you use and try to contact BTS support about this?
drcrazy commented
No response from reporter. :(