Rearranging subTaskSequence for more than one step at once?

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?

1 answer

1 accepted

This widget could not be displayed.
Penny Wyatt Atlassian Team Aug 23, 2012

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&currentSubTaskSequence=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.

Penny Wyatt Atlassian Team Aug 27, 2012

What's the generic case that you need the script for?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

576 views 25 15
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you