Forums

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

Epic---->User Story---->Sub Task

Priyashani Perera October 29, 2012

Hi,,,

Is it possible to show Epic---->User Story---->Sub tast type all issues in the same word document... If so how can we do the changings?

4 answers

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 29, 2012

Could you explain where you're trying to do this? It matters because the velocity context is different depending on where you are, and may not contain enough to generate what you're looking for.

Priyashani Perera October 29, 2012

Im trying to do this in the single-word.vm file. Which could be found in C:\Program Files (x86)\Atlassian\JIRA\atlassian-jira\WEB-INF\classes\templates\plugins\issueviews1

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 29, 2012

Ok, that's the view of a single issue, in Word format. Whilst the velocity context for that contains the current issue and then some information on the sub-tasks of the current issue, I don't think it contains each sub-task.

You'll need to get a handle on each and every subtask and pull that, which may require some additional java code in the view to add the data to the velocity context.

Priyashani Perera October 29, 2012

K could u plz tell me frm where should I need to start this....

Priyashani Perera October 30, 2012

please some1 help us.... We are struggling with a project given by our company....

0 votes
mwarton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2013

Hi Priyashini,

Have you seen Intelligent Reports? It is a plugin for JIRA that lets you easily export multiple issues as well as other JIRA data into Microsoft Word documents. Design your template in Microsoft Word itself to take full advantage of Words layout capabilities, then use our point and click interface to determine which information goes where.

You can easily iterate over linked issues repeating table rows or complete sections of the document. Try out the 30 day free trial, I think it is a perfect match for your problem.

0 votes
Priyashani Perera October 29, 2012

#foreach ($tabs in $fieldScreenRenderer.fieldScreenRenderTabs)
#foreach ($layoutItem in $tabs.fieldScreenRenderLayoutItems)
#if ($layoutItem.orderableField.hasValue($issue) && $layoutItem.orderableField.customFieldType.descriptor.viewTemplateExists == true)


#if ($layoutItem.orderableField.name == "Epic/Theme")

<h2><li><b>$textutils.htmlEncode($layoutItem.orderableField.name):</b></h2>
<id="${layoutItem.orderableField.id}-${issue.id}-value" class="value" bgcolor="#ffffff" >$wordView.getCustomFieldHtml($layoutItem.fieldLayoutItem, $layoutItem.orderableField, $issue)</li>


#end
#end
#end
#end

Here I have taken the names of child issues of a defined epic issue... Can any1 plz tell me whether I can get the full details of each child issues......

0 votes
Priyashani Perera October 29, 2012

#foreach ($tabs in $fieldScreenRenderer.fieldScreenRenderTabs)
#foreach ($layoutItem in $tabs.fieldScreenRenderLayoutItems)
#if ($layoutItem.orderableField.hasValue($issue) && $layoutItem.orderableField.customFieldType.descriptor.viewTemplateExists == true)


#if ($layoutItem.orderableField.name == "Epic/Theme")

<h2><li><b>$textutils.htmlEncode($layoutItem.orderableField.name):</b></h2>
<id="${layoutItem.orderableField.id}-${issue.id}-value" class="value" bgcolor="#ffffff" >$wordView.getCustomFieldHtml($layoutItem.fieldLayoutItem, $layoutItem.orderableField, $issue)</li>


#end
#end
#end
#end

Here I have taken the names of chil issues of a defined epic issue... Can any1 plz tell me whether I can get the full details of each child issues......

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events