An easier way to export any JIRA data to Word is through a plugin such as Intelligent Reports. It allows you to design your template in word, then specify which data goes where with no programming required. Furthermore as it is a plugin you do not need to modify you JIRA installation, and thus have less headaches when upgrading.
You don't need to do anything if you're using the standard custom fields, or, in fact, most other custom fields. They display in Word automatically - if you can see them in the standard issue view, then you should get them in the export as well.
Could you tell us what fields are not appearing - specifically, what type are they? Maybe show us the data you get in the issue view and what appears in the export?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need to do anything if you're using the standard custom fields, or, in fact, most other custom fields. They display in Word automatically - if you can see them in the standard issue view, then you should get them in the export as well.
Could you tell us what fields are not appearing - specifically, what type are they? Maybe show us the data you get in the issue view and what appears in the export?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We need to change the appearance of the word doc. format. So I changed all the source codes in vm file and changed it according to our preference. Now I added a new field called "topic" which is belongs to text field. Bt I adjested the codings only else part is working always.
The coding is shown here.....
#if (($fieldVisibility.isFieldHidden($issue.project.getLong('id'), 'topic', $issue.issueTypeObject.id) == false) && ($issue.topicObject))
#if ($issue.TopicObject)
<b>$i18n.getText('issue.field.topic'):</b>
#else
$textutils.htmlEncode($issue.topicObject.nameTranslation, false)
#end
We do not knw whether the way we adjusted the coding is correct... Could u plz adjust it if u knw....
Thank u very much....... :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry this is the coding we typed.............
#if (($fieldVisibility.isFieldHidden($issue.project.getLong('id'), 'topic', $issue.issueTypeObject.id) == false) && ($issue.topicObject))
#if ($issue.topicObject)
<b>$i18n.getText('issue.field.topic'):</b>
$textutils.htmlEncode($issue.topicObject.nameTranslation, false)
#else
$i18n.getText('unknown')
#end
#end
Please reply me soon................
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mmm, that's nothing like what you originally asked.
First, can you confirm that the original code worked before you starting amending it? The Word export stuff you had before you started amending the template will have displayed the data you are looking for.
Secondly, you should look to reuse the code that works there as part of your changes.
Finally, have a look through https://confluence.atlassian.com/display/JIRAKB/Customise+Word+Export+Template+for+JIRA as that covers custom fields
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.