jira

add sub-tasks bookmarklet

When inside a story, this example bookmarklet adds two sub-tasks, providing one sub-task already exists:

javascript:(function()%7B%24("%23stqc_show").click()%3BsetTimeout(() %3D> %7Bdocument.getElementById("summary").value %3D "Automated Sub-task #1 - " %2B document.getElementById("summary-val").textContent%3Bdocument.getElementById("qf-create-another").checked %3D true%3B%24("%23create-issue-submit").click()%3BsetTimeout(() %3D> %7B%24("%23stqc_show").click()%3BsetTimeout(() %3D> %7Bdocument.getElementById("summary").value %3D "Automated Sub-task #2 - " %2B document.getElementById("summary-val").textContent%3Bdocument.getElementById("qf-create-another").checked %3D false%3B%24("%23create-issue-submit").click()%3B%7D%2C 1000)%3B%7D%2C 2000)%3B%7D%2C 1000)%7D)()