Hi,
The description string we get by using rest api call "{url}/rest/api/2/issue/{key}" as below,
h1. *Here we need to provide the description about the jira*
If we used to save the same in document using c#. Then it come as same.
But we need to convert this wiki representation to HTML. How can I achieve this in C# code?
Is there any built in function / package for conversion. Please guide us. It help us more.
Hi @[deleted]
You have a build-in option for this.
To your api add ?expand=renderedFields, like this:
"{url}/rest/api/2/issue/{key}?expand=renderedFields"
and the API will return new section "renderedFields", all fields will there as HTML
Hi @Nir Haimov ,
Noted and Thanks! IT works out.
But still am facing some other issues while loading images.
By using the above renderedFields in url, the image is not populating fine in the MS Word document.
I'm saving the HTML as temporary file and trying to append that file to MS Word,
Content is coming fine only images causing issues.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.