Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I modify the issues page so that subtasks appear with a date?


I am trying to figure out a way to display the due date of an issues subtasks in the menu of the main issue. For clarity, here is an example of what I would like:

Say we have issue_1 with the subtasks subtask_2 and subtask_3. I would like to be able to click on issue_1 and see the due dates of subtask_2 and subtask_3 in the list view of all subtasks. This would allow me to see all due dates of subtasks without having to click on each one individually. 

I have researched the topic and have read numerous outdated articles but nothing seems to fit this specific situation. I have tried editing the jira.table.cols.subtasks under system > advanced settings where I added duedate but nothing seemed to change.

For clarity, I have attached a screenshot to simplify what I am looking for.


Any ideas?



4 answers

1 accepted

2 votes
Answer accepted

Hi @Shane Flanagan 

This isn't really possible in Jira Cloud.

It used to work by modifying the jira.table.cols.subtasks option in Advanced Settings - click here to see how - but that only works in the old issue view (which as of 31/03/2021, can no longer be your default view).

There is a suggestion to bring it the new issue view, see JRACLOUD-70206.

You can still temporarily see it working using this option to click-through to the old view, but it's not ideal as you'd need to do it every time you open an issue.


0 votes

Do you think of something like this:

I might as well contribute the solution to this problem that I've developed. I'm not on Jira Cloud, so the parameters might be slightly different, but I would think this should work on any instance type. I've developed a number of custom JavaScript solutions, which I inject via the Announcement Banner HTML. From some googling, this looks to maybe be only partially available or otherwise hamstrung on Cloud instances, so YMMV. You might have to add this to one of the Jira page template files instead, if that's even possible on Cloud. I've also tried to avoid some of the more modern JS conventions in an effort to make it as cross-browser compatible as possible... but who knows. IE not guaranteed/not supported in newer Atlassian products anyway.

// Add in project keys for which this customization is enabled
var enabledForProjectKeys = ['ABC','DEFG','FOO','BAR'];
var customizationEnabled = () => enabledForProjectKeys.some((key) => JIRA?.Issue?.getIssueKey()?.startsWith(key+"-"));
// Uncomment this line and comment previous line to enable for all projects
//var customizationEnabled = () => true;
// Add the ID of your custom field / builtin field here
var cfID = "duedate"
//var cfID = "customfield_12345";

function showCFOnSubtaskList(context) {
if (customizationEnabled()) context.find('#issuetable tr').each(function(){
var row = AJS.$(this);
var issueKey = row.attr('data-issuekey');
AJS.$.getJSON(AJS.contextPath() + '/rest/api/latest/issue/' + issueKey, function(data){
// console.log('Got data for - ' + issueKey);
var cfData = data.fields[cfID] || "";
  // You can style the added element with class / style inline if desired
AJS.$(row).find('td.issuetype').before('<td class=""><span class="">' + cfData + '</span></td>');

[JIRA.Events.NEW_CONTENT_ADDED, JIRA.Events.NEW_PAGE_ADDED].forEach((event) => JIRA.bind(event, function(e, context, reason) {
if (reason === "panelRefreshed" &&"#view-subtasks")) showCFOnSubtaskList(context);

 The same logic can be used to hook/modify issue displays for various other things, like the links table (#linkingmodule), issues in epics (#greenhopper-epics-issue-web-panel), instead of the subtasks panel (#view-subtasks). I've also hooked/modified non-issue panels such as #datesmodule for client-side modification.

Hi in this link you have the section How to choose which sub-task fields display on parent issues with the Following indications:


You can define which sub-task issue fields are displayed in the sub-tasks section of a parent issue.

  1. Choose  > System
  2. Click General configuration > Advanced settings.
  3. For the jira.table.cols.subtasks property key, edit the field values. Note that the summary field is a mandatory value and that fields will appear on parent issues in the same order you list them. Please refer to API documentation - Constant Field Values  to see all constant field options.
  4. Click Update.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

454 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you