How to set the sprint when creating an issue?

Ideally, I would like to set the sprint to which an issue should be assigned when creating the issue. Unfortunately, adding the Sprint field to a screen just gives you a plain textfield, in which -so it seems- a technical id can be filled out; a value that cannot be guessed by a regular user. So that does not seem to be an option.

Another option would be to have an issue be assigned to a certain (say "the last") sprint automatically when creating an issue. But that seems undoable as well.

Is any of this possible and if so, how?

1 answer

1 accepted

This widget could not be displayed.

Hello,

Currently the Sprint Field uses numbers to refer to a Sprint name on GH. We do not advise users to make changes on the field as it is easy to mess things up on GH.

Although if you still want to do such changes you can use the following java script to get the Sprint ID:

The easiest way to get the Sprint ID is to copy and paste the following in to the address bar while you're on the Work mode of a Rapid Board

javascript:alert("Sprint ID is " + jQuery("SPAN[data-sprint-id]").attr("data-sprint-id")

What you need to do is the following:

  1. check the Sprint ID on GH by using the JavaScript;
  2. Create the Issue and add the correct Sprint ID;

Your issues will be sent straight way to the Sprint.

I hope it helps you!

+1 for the inventive solution, but unfortunately not one that I'm going to be able to explain to the acceptance testers. :)

Accepted, because it is clear that it is not possible to do as one would expect.

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 yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

71 views 1 0
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