cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Text formatting in Jira description field

Chris66
Not applicable

Hi,

I'm having difficulties when formatting the text in the description field of a Jira issue.

The source text can either be pure text or html. If it is pure text, any kind of formatting is simply ignored. When I use html it is not formatted accordingly, i.e. the App "Create issue in Jira" does not map the html codes into the corresponding Jira codes.
Of course I can use a formula instead, e.g. gsub, but that works only for one single html code like line feed.

Is there any way that multiple html codes can be mapped to the Jira codes in one go/formula?

Thanks

 

2 REPLIES 2

Prudvi
Executive Chef I
Executive Chef I

Hi @Chris66,
1. Can you try searching for a Jira issue and validate how is it formatting the text and make changes accordingly.
2. You might have to go with a python script for text formatting.
Regards,
Prudvi

Hi,

I have successfully used the .gsub formula for replacing < /br> with \\ which is the line feed in Jira, but I have other html tags that need to be transformed as well and I very much doubt that it can be done in the same .gsub.
I'm not familiar with Python unfortunately.

/Christopher