After creating subtasks, its sequences should be rearranged if other subtasks added or something.
But JIRA provide one-step-only link of sequence change. It's annoying to click multiple times.
Is there any way to change sequence of subtasks multiple steps at a time?
Yes, but it's not pretty...
If you hover your mouse over the up/down arrows, you can see the URL that is called when you click the arrow.
e.g. https://<server>/secure/MoveIssueLink.jspa?id=10100¤tSubTaskSequence=0&subTaskSequence=1
id is the numeric ID of the current (parent) issue. It'll be different for whichever issue you look at.
currentSubTaskSequence is the current index of the subtask in the list that you want to move.
subTaskSequence is the new index where you want to move it to.
The sequences are numbered from 0.
So, for example, if you have a list of 10 subtasks and want to move the last subtask to the start of the list, copy the URL from any of the little arrows on your current issue, replace currentSubTaskSequence with 9, subTaskSequence with 0, paste it into the address bar and hit enter.
I said it wasn't pretty :-)
Taking it to the next level, has anyone scripted this? I made a half-stab at it using curl without success.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's the generic case that you need the script for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.