I'm trying to add a new report for a commit with multiline description using https://developer.atlassian.com/cloud/bitbucket/rest/api-group-reports/#api-repositories-workspace-repo-slug-commit-commit-reports-reportid-put
Passing "line1\nline2\nline3" in the details parameter results in "line1 line2 line3", passing "line1\\nline2\\nline3" results in "line1\nline2\nline3".
What else should I do to achieve multiple lines in the description of the report?
Hi Dani and welcome to the community!
I'm afraid that it is not possible to add new lines in the details field of the reports API at the moment.
We have a bug report about this in our issue tracker:
You can add yourself as a watcher (by selecting the Start watching this issue link in the bug report) if you'd like to get notified via email of any updates. You can also select the link This affects my team to indicate you are affected by this issue.
Our development team will post an update on that bug report when this is fixed. Please note that we don't provide ETAs and bug fixing is implemented as per our policy here.
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.