This is one of the easiest things that you can do! But it adds a lot of value at times. We are talking about adding extra columns for subtasks on the parent issue page.
We know how to add fields to subtasks in JIRA, don't we? Let us see how we can make those fields appear in the parent issue page. We will use a URL custom field as an example in this recipe.
Adding new columns to the subtasks view can be done easily by modifying the advanced property named jira.table.cols.subtasks
. This property is available under Administration | System |General Configuration | Advanced Settings.
For example, if you want to add a custom field to the existing list of columns, you can do that by including the custom field ID, as shown here:
The updated property value will be issuetype, status, assignee, customfield_10400, progress
.
Similarly, you can add the id
of other standard or custom fields, if you want to see them in the subtask list. But care must be taken not to add too many fields or add big fields such as description, as that will clutter the parent issue page.
JIRA renders the subtask columns on the View Issue page by looking at the aforementioned property. While adding the standard subtask fields is useful, adding custom fields can be extremely helpful sometimes.
In our example, we have added customfield_10400
, where 10400
is the numeric ID for the custom field. It stores the URL associated with the task, as shown:
Looks useful, doesn't it?
18.225.95.107