Adding Comment to Issue containing a link using Forge

I’m trying to add a comment which contains a link, but I cannot format the comment so the link actually looks like a link and the body JSON can be parsed too. I have no problem adding a comment without the link.
The body of the POST:

{
    "body": {
      "content": [
        {
          "content": [
            {
              "text": "The link: <a href="somelink.com">LINK</a>",
              "type": "text"
            }
          ],
          "type": "paragraph"
        }
      ],
      "type": "doc",
      "version": 1
    }
  }

Is there a proper way to do it?
Thanks!

1 Like

I don’t have experience with this myself, but I think it may need to be in ADF format (per API v3 Add Comment). Here is another thread that might also be helpful.

2 Likes

Wow thank you, the linked thread worked like a charm!

1 Like