• 1
    • 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.

      Atlassian Update - 28 March 2022

      Hi everyone,

      Subtasks can be bulk edited in the new issue view. To access this, select Bulk edit from the three dot menu located at the top of the subtask panel.

      Thanks

      Tha Atlassian Cloud team

       

      It would be really great if we could implement the bulk change operation to include sub-tasks. For example, I all sub-tasks are resolved (but not closed) you must transition every sub-task instead of doing a bulk operation.

          Form Name

            [JRACLOUD-13079] Sub-tasks - Bulk Change/Edit Option

            Hello everybody. If I understand the issue here correctly, this is easily doable by just copying and pasting, using our spreadsheet app JXL: https://jxl.app

            • Install JXL your Jira site
            • Create a sheet inside Jira with all the issues you want to change (you can write JQL for this)
            • Add the Status and Assignee columns to the sheet (or whatever field you want to bulk change)
            • Edit, mark and copy (⌘/Ctrl + C) a cell with the desired field value
            • Mark multiple cells and paste (⌘/Ctrl + V) the copied value into them
            • JXL takes care of the bulk change for you instantly

            Hope that helps. It works with hundreds or thousands of issues.

            Disclaimer: I'm co-founder of the app vendor behind JXL. Your feedback is welcome and much appreciated. There's a free fully functional trial available on the Atlassian Marketplace here: https://marketplace.atlassian.com/1224710 (check out the short demo video)

            Daniel Franz - JXL added a comment - Hello everybody. If I understand the issue here correctly, this is easily doable by just copying and pasting, using our spreadsheet app JXL: https://jxl.app Install JXL your Jira site Create a sheet inside Jira with all the issues you want to change (you can write JQL for this) Add the Status and Assignee columns to the sheet (or whatever field you want to bulk change) Edit, mark and copy (⌘/Ctrl + C) a cell with the desired field value Mark multiple cells and paste (⌘/Ctrl + V) the copied value into them JXL takes care of the bulk change for you instantly Hope that helps. It works with hundreds or thousands of issues. Disclaimer: I'm co-founder of the app vendor behind JXL. Your feedback is welcome and much appreciated. There's a free fully functional trial available on the Atlassian Marketplace here: https://marketplace.atlassian.com/1224710  (check out the short demo video)

            Brian Mortenson added a comment - - edited

            Well done! I figured out how to go straight to the bulk edit page so the user doesn't have to find it in the context menu. It requires the search page to be requested first, then from there the link to the bulk edit page will work. I have created a gist for it, so it can be updated without having to post new comments here. See https://gist.github.com/4552951. Again, it has only been tested on 5.2.1.

            Brian Mortenson added a comment - - edited Well done! I figured out how to go straight to the bulk edit page so the user doesn't have to find it in the context menu. It requires the search page to be requested first, then from there the link to the bulk edit page will work. I have created a gist for it, so it can be updated without having to post new comments here. See https://gist.github.com/4552951 . Again, it has only been tested on 5.2.1.

            Just found out about an easier way, which should work in all browsers supported by JIRA.

            Just paste this into your JIRA Announcement banner:

            <script type="text/javascript">
            
            AJS.$(document).ready(function(){
            
                var matches = location.pathname.match(/browse\/([A-Z]+-[0-9]+)/),
                    list, id, item, link;
            
            	    if (matches){
            			id = matches[1];
            
            			list = document.getElementById('subtask-view-options');
            			if (list) {
            
            				link = document.createElement('a');
            					link.href = '/issues/?jql=parent%20%3D%20' + id,
            					link.className = 'aui-list-checked aui-list-item-link',
            					link.title = 'Show and edit subtasks in navigator',
            					link.innerHTML = 'Edit All';
            
            				item = document.createElement('li');
            				item.className = 'aui-list-item';
            					
            				list.appendChild(item);
            				item.appendChild(link);
            			}
            		}
            	})
            
            </script>
            

            Valentijn Scholten added a comment - Just found out about an easier way, which should work in all browsers supported by JIRA. Just paste this into your JIRA Announcement banner: <script type= "text/javascript" > AJS.$(document).ready(function(){ var matches = location.pathname.match(/browse\/([A-Z]+-[0-9]+)/), list, id, item, link; if (matches){ id = matches[1]; list = document.getElementById( 'subtask-view-options' ); if (list) { link = document.createElement( 'a' ); link.href = '/issues/?jql=parent%20%3D%20' + id, link.className = 'aui-list-checked aui-list-item-link' , link.title = 'Show and edit subtasks in navigator' , link.innerHTML = 'Edit All' ; item = document.createElement( 'li' ); item.className = 'aui-list-item' ; list.appendChild(item); item.appendChild(link); } } }) </script>

            Yes, thank you. I forgot to mention that I made it for my installation, which is 5.2.1, and can not speak for what other versions it works on, as I don't have a way of testing them.

            Brian Mortenson added a comment - Yes, thank you. I forgot to mention that I made it for my installation, which is 5.2.1, and can not speak for what other versions it works on, as I don't have a way of testing them.

            Thank you for the user script. It doesn't work as expected however in 5.1.5. Is is it supposed to work in 5.1.5?

            When I use it on issue ILUK-1828, it generated a link to https://jira.isaac.nl/issues/?jql=parent%20%3D%20ILUK-1828.
            I think this is the 5.2 style navigator?

            I've attached a userscript which works for 5.1.5 (and possible older versions as well)

            Valentijn Scholten added a comment - Thank you for the user script. It doesn't work as expected however in 5.1.5. Is is it supposed to work in 5.1.5? When I use it on issue ILUK-1828, it generated a link to https://jira.isaac.nl/issues/?jql=parent%20%3D%20ILUK-1828 . I think this is the 5.2 style navigator? I've attached a userscript which works for 5.1.5 (and possible older versions as well)

            Also, you may need to modify the regular expression to suit the naming convention of your projects.

            Brian Mortenson added a comment - Also, you may need to modify the regular expression to suit the naming convention of your projects.

            Brian Mortenson added a comment - - edited

            I have added jira.search-subtasks.user.js as an attachment to this ticket. It's a user script to open all subtasks in search, where Bulk Change is available to them. You will need to change @match to reflect your own installation of JIRA. I have only tested it with my own JIRA installation, and can not speak for which versions it will work for. It works differently from Joel's script – it adds a link from an issue's page to a search containing all the subtasks, instead of selecting existing items on the search page.

            Brian Mortenson added a comment - - edited I have added jira.search-subtasks.user.js as an attachment to this ticket. It's a user script to open all subtasks in search, where Bulk Change is available to them. You will need to change @match to reflect your own installation of JIRA. I have only tested it with my own JIRA installation, and can not speak for which versions it will work for. It works differently from Joel's script – it adds a link from an issue's page to a search containing all the subtasks, instead of selecting existing items on the search page.

            I have attached my greasemonkey userscript.

            When you install it you will need to update the include line for your jira installation.

            Currently it is:
            // @include http://your.jira.installation/secure/views/bulkedit/BulkEdit1*

            But if you wanted to use it on this jira installation you would change it to:

            // @include http://jira.atlassian.com/secure/views/bulkedit/BulkEdit1*

            One thing worth noting, is that it can only select subtasks on the same bulk edit screen. If you are on the bulk change page and some of the sub tasks are not present on the page then they won't be selected.
            So you need to make sure that your search query will include the sub tasks and their parent if you trying to move/modifying a task with all it's sub-tasks.

            Joel Pearson added a comment - I have attached my greasemonkey userscript. When you install it you will need to update the include line for your jira installation. Currently it is: // @include http://your.jira.installation/secure/views/bulkedit/BulkEdit1* But if you wanted to use it on this jira installation you would change it to: // @include http://jira.atlassian.com/secure/views/bulkedit/BulkEdit1* One thing worth noting, is that it can only select subtasks on the same bulk edit screen. If you are on the bulk change page and some of the sub tasks are not present on the page then they won't be selected. So you need to make sure that your search query will include the sub tasks and their parent if you trying to move/modifying a task with all it's sub-tasks.

            I am interested in the script for Firefox. Please attach it to this issue.

            Wim Deblauwe added a comment - I am interested in the script for Firefox. Please attach it to this issue.

            If anyone is interested I have hacked up some javascript for greasemonkey in Firefox, which adds links on the bulk edit page next to a sub task that says "Select other subtasks".

            Then if you click that link it selects any other sub-tasks on the page including the parent task.

            Joel Pearson added a comment - If anyone is interested I have hacked up some javascript for greasemonkey in Firefox, which adds links on the bulk edit page next to a sub task that says "Select other subtasks". Then if you click that link it selects any other sub-tasks on the page including the parent task.

              Unassigned Unassigned
              d149ebf0e7bd Vaness Michael
              Votes:
              36 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: