You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm having this same issue with images in Description and trying to render the content using wiki. I tried to replace the size of images without success. I'm trying this
${wiki%{'${escape:JQLIssues[j].
Description}'.replace(new RegExp('width=\d+,height=\d+!','g'),'width=200,height=200!')}}
I noticed that the image tag is coming like this:
!image-20200417-132307.png|width=1801,height=561!
I tried to remove the whole image and try to change the size without success.
Any thoughts?
Hi, Brigitte. Nice catch with the :! I did not have any success on this and, after expend almost one week trying different things I just gave up and decide to not use wiki....now the exported info is comming with all the tags. I just decided to give another try in a few months and see if there is any update on this.....
Hello, I was dealing with the same problem.
I tried many different possibilities to try to resize or delelte the image from the wiki format but is like it's not working with javascript.
So I achive a solution with a workarround, using a property that delete all the images from wiki fields and then I add it with a iteration.
${prop(document.wiki.process.images,
false
)}
https://confluence.getxray.app/display/public/XPORTERCLOUD/Props#Props-ProcessWikiImage
And then in the same iteration of the Description field I use:
#{for images}
${Images[n].Image|maxwidth=600|maxheight=550}
#{end}
The problem is this will populate with all the images that the issue/issues have.
I was trying to find a way to create a if that take the value images value from the Description and apply it in the #{for images} but no success at the momment.
Xporter support is very slow and at the end of the day I gave them the solutions....