How to string replace when using helper.render?

Manuel June 13, 2022

Hi,

I'm using the helper.render in a "send mail script post function" to render a multiline custom field to html.

When the field contains an embedded image, the jira base url is not added to the scr-tag, so the mail receiver cannot see the image as the link is broken.

Adaptavist told me, that this is a known issue from jira:

https://jira.atlassian.com/browse/JRASERVER-41675
https://jira.atlassian.com/browse/JRASERVER-40986

 

My idea as workaround is to use a string replace in combination with the

${helper.render(custmfieldcontent)}

to put the baseurl into the scr tag. But i wasn't able to get a working syntax :(

Can anybody help or give me a hint?

 

Best Regards

 

Manuel

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events