Forums

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

Create Word-Document based on Jira-Issue using the Jira API

Jörg Jäger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2022

Hello Together,

we are working/looking for some solution to create a custom word document based on some Jira Fields of a Jira Issue.

For this we currently use the Jira REST API to get the necessary Fields from a given Issue.

Number and Text fields are no problem. Unfortunately, we also need to use formatted Fields like this one:

JelDcJqmUv.png

The API just give us here some JSON (default) or ADF / XML Result.

O59CAdtCbA.png

Is there any easy solution or way to convert this result into a Microsoft Word Compatible form?

The final result should be a Word Document base on a Template, the data/fields from a given Jira issue and some additional calculations and tables based on an Excel File.

Currently we use Word, Excel, PowerQuery and VBA to get the Data for the given Issue with the Jira API and to create the Word File.

1 answer

0 votes
lintek214 October 23, 2022

There is an export to Word feature in Jira. Why recreate the wheel?

 

export-to-word.png

Dominik Meier October 26, 2022

@lintek214 This is not what Jörg needs. As he mentioned, he wants to create a specific Word document. Therefore, in my opinion, the standard Word export is not useful to him.

In his picture it is evident that the field "initial position" is a "wiki style renderer" field. If I reproduce this in this constellation of him and trigger a Word export as you suggested, I get the following error message in the Word file.

error.png

Like Sascha Meinel likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events