I am working on adding reports to Pull Request view with code insights and reports API, however, I hit a snag when I was trying to send some test results reporting and the value type LINK.
I sent following in data array to add report API.
{
"title": "Detailed Report",
"value": "https://example.com/abcd_1234/reports/results?reportId=11223344",
"type": "LINK"
}The response error was:
{"key": "report-service.general.bad-request", "message": "Value doesn't match expected type LINK", "arguments": {}}I'm curious what format the API is expecting when you're sending a LINK value?