In issue navigator, I can select 'sub-tasks' as a column to see a list of sub-tasks that belong to an issue. However, the opposite is not true. There is no 'parent' column that can be selected to show the parent of the sub-tasks. It seems strange that one has been done without the other.
Code for scripted field for Script runner
importcom.atlassian.jira.ComponentManager; defburl = ComponentManager.getInstance().getApplicationProperties().getString("jira.baseurl") return (issue.parent != null) ? "<a href=\""+ burl + "/browse/"+ issue.parentObject.key + "\">"+ issue.parentObject.key + "</a>" : "";
Sorry Jobin but this is not what I am talking about. if I do a search, it is so that I can find the parents of a set of sub-tasks. For example, if using GreenHopper, I have user stories and they have work items defined as sub-tasks. In issue navigator, I want to do a search for some sub-tasks in sprint x and I want to see, IN THE SEARCH RESULTS, what the parents of those sub-tasks are, i.e. the stories to which they belong. This is not possible as there is no appropriate column to select for search results. You are right - there are many ways that I can find out the parent of a sub-task. That's not what I want to do. I want to be able to list a filtered set of sub-tasks and see the parents of all of them at once. That way, I can output as report or use the filter in a gadget on a dashboard.
<RANT> This is clearly an oversight or handicaped by design. In excel, you need the parent id column to work with the data effectively. Excel cannot use comma separated list of child references in a column, such as the "subtasks" column. Either this is done on purpose or a sloppy implementation coming out of a lack of understanding of how excel works, in other words an incompetent implementation. Yet another jira "feature" that needs scripts and workarounds... GAH! Why did we choose jira a month ago, do we do a rollback of all this work and all of these workarounds... </RANT>
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG