The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

add text indent when updating comment using jira rest api

sadhana.chittibabu
November 15, 2023

Hi

I am trying to update comment body using JIRA rest API, everything works fine but text indent is not working.

*text* is making the text bold 

\n is creating new line

but I want the next line to start 1 tab space from the previous line

For Ex:

This is my first line

         Here my second line should start with indent.

If I use \t that is printing the \t as it is instead of the tab space.

Thanks in advance.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 15, 2023

Hi @sadhana.chittibabu 

This appears to be a duplicate of your other question: https://community.atlassian.com/t5/Jira-Core-Server-questions/add-text-indent-when-updating-comments-using-rest-api/qaq-p/2533988

Please consider closing out this one to help focus the suggestions.  Thanks!

Kind regards,
Bill

TAGS
AUG Leaders

Atlassian Community Events