• Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Currently, sub-tasks are ordered in the parent view by creation time, and can be moved up or down in the list by clicking on the arrows. When lists of sub-tasks becomes long, it is quite tedious to reorganize, especially when adding new higher priority sub-tasks (they start at the bottom of the list).

      It would be nice to have a feature that allows sub-tasks to be inserted at a desired position in the list, and possibly a number of sub-tasks to be moved/inserted as a bulk operation.

            [JRACLOUD-8053] Reorganize sub-task order within the parent task

            Corentin Méhat added a comment - - edited

            I managed to use the EXOCET plugin to create a new "data-panel" in order to do so :
            https://valiantys.atlassian.net/wiki/display/EXO/Display+Advanced+data+panels

            the JQL used to show the subtasks of the current task beeing :

            issuetype in subTaskIssueTypes() ORDER BY "myCF"
            

            Corentin Méhat added a comment - - edited I managed to use the EXOCET plugin to create a new "data-panel" in order to do so : https://valiantys.atlassian.net/wiki/display/EXO/Display+Advanced+data+panels the JQL used to show the subtasks of the current task beeing : issuetype in subTaskIssueTypes() ORDER BY "myCF"

            If anyone is tired with this issue you can use this WORKING solution. I managed to improve a plugin for reordering subtasks with drag n'drop created by anorakgirl. I managed to get this working without reloading the page while reordering subtasks (Jira 6.x only, on Jira 5.x it reloads the page but still it is way more convenient than using arrows) and I added clear visual handle for dragging. You can find the plugin here https://github.com/czerwiu/subtask-dragger (source and binary, install-ready jar). Works like a charm. It is forked from original anorakgirl's version.

            Pawel Czerwinski added a comment - If anyone is tired with this issue you can use this WORKING solution. I managed to improve a plugin for reordering subtasks with drag n'drop created by anorakgirl. I managed to get this working without reloading the page while reordering subtasks (Jira 6.x only, on Jira 5.x it reloads the page but still it is way more convenient than using arrows) and I added clear visual handle for dragging. You can find the plugin here https://github.com/czerwiu/subtask-dragger (source and binary, install-ready jar). Works like a charm. It is forked from original anorakgirl's version.

            Martin, you've resolved this issue as "Answered", but I think "Won't Fix" would be the more correct choice, and it would allow us to query for these types of requests in future.

            Kavian Moradhassel added a comment - Martin, you've resolved this issue as "Answered", but I think "Won't Fix" would be the more correct choice, and it would allow us to query for these types of requests in future.

            Many thanks for reporting this issue, however this is not something we plan to add to JIRA at this time.

            We are considering showing the display of sub-tasks by priority so please follow the related issue for progress: JRA-24547

            Regards,
            Martin
            JIRA team

            Martin (Inactive) added a comment - Many thanks for reporting this issue, however this is not something we plan to add to JIRA at this time. We are considering showing the display of sub-tasks by priority so please follow the related issue for progress: JRA-24547 Regards, Martin JIRA team

            @hanzmenzi you are the one! It's totally working!

            Right click on the arrow, copy link address and paste in the bar, then you indicate the values.

            Important: The sequence is 0 based.

            Ramiro Pointis added a comment - @hanzmenzi you are the one! It's totally working! Right click on the arrow, copy link address and paste in the bar, then you indicate the values. Important: The sequence is 0 based.

            I have entered this function within the "viewissue.jsp" page and now you can reorder the sub-tasks via drag and drop. My issue is that the numbers do not reorder unless you do a page refresh. Any suggestions on how to address this. Thanks.

            Chris Smith added a comment - I have entered this function within the "viewissue.jsp" page and now you can reorder the sub-tasks via drag and drop. My issue is that the numbers do not reorder unless you do a page refresh. Any suggestions on how to address this. Thanks.

            @James Titcumb:

            Thanks for your advice. I'm already using it.
            I just left the comment above to get some attention for this issue.

            Cheers,
            Patrick

            Patrick Metz added a comment - @James Titcumb: Thanks for your advice. I'm already using it. I just left the comment above to get some attention for this issue. Cheers, Patrick

            javascript:(function(){jQuery(function(){jQuery("#issuetable>tbody").sortable({start:function()

            {old_order=getorder();}

            ,stop:function(event,ui){new_order=getorder();for(i=0;i<=new_order.length;i++)

            {id=ui.item[0].id;if(id==old_order[i])oldpos=i;if(id==new_order[i])newpos=i;}

            jQuery.ajax(

            {url:'/jira/secure/MoveIssueLink.jspa?id='+jQuery('#key-val').attr('rel')+'&currentSubTaskSequence='+oldpos+'&subTaskSequence='+newpos,}

            );}});function getorder(){order=[];jQuery('#issuetable>tbody').children('tr').each(function(idx,elm)

            {if(elm.id)order.push(elm.id)}

            );return order;}});})()

            Victor Bello
            Lead Web Developer (PE)

            Victor Bello added a comment - javascript:(function(){jQuery(function(){jQuery("#issuetable>tbody").sortable({start:function() {old_order=getorder();} ,stop:function(event,ui){new_order=getorder();for(i=0;i<=new_order.length;i++) {id=ui.item[0].id;if(id==old_order[i])oldpos=i;if(id==new_order[i])newpos=i;} jQuery.ajax( {url:'/jira/secure/MoveIssueLink.jspa?id='+jQuery('#key-val').attr('rel')+'&currentSubTaskSequence='+oldpos+'&subTaskSequence='+newpos,} );}});function getorder(){order=[];jQuery('#issuetable>tbody').children('tr').each(function(idx,elm) {if(elm.id)order.push(elm.id)} );return order;}});})() Victor Bello Lead Web Developer (PE)

            Patrick - in the mean time, use the above bookmarklet, it does exactly what you need.

            James Titcumb added a comment - Patrick - in the mean time, use the above bookmarklet, it does exactly what you need.

            It would be a huge usability improvement if one could drag and drop subtasks!
            Rearranging multiple subtasks is so tedious...

            Patrick Metz added a comment - It would be a huge usability improvement if one could drag and drop subtasks! Rearranging multiple subtasks is so tedious...

              Unassigned Unassigned
              5cda7d3b902b Adriano Bertucci
              Votes:
              74 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: