When starting an issue, add it to the current iteration

I'd like to know if it's possible to create a workflow that will automatically add any story a developer "Starts" to the current Greenhopper iteration. We plan our iterations in advance and put certain stories in it using GH's "Plan" mode. However, reality always strikes and developers have to perform unplanned work. When starting an issue that isn't in the current iteration, is it possible to create a workflow to put it in?

1 answer

1 accepted

0 votes
Answer accepted

Hi there,

By default, it may not be possible to automatically add a newly created issue to a current Sprint in GreenHopper. And there's no existing ready made post function that may help us to achieve this as well, I'm sorry for this.

Anyway for your information, when an issue is added to a Sprint, then the Sprint field of that issue will be populated with the associated Sprint name. Since this is the case, I believe that we can add an issue to a Sprint by actually populating that field itself.

Hence if you are interested to develop a new post function to achieve this functionality, then this perhaps may something that you would like to check first.

I hope that the info helps!

I've given this a try, and it works. However, it's not really usable as the field has no auto-complete capability. For example, I have a sprint named "Iteration 7", however to make it work, i need to enter the number "5" into the field.

So maybe somethign could be built around this, but it's unusable as-is.



Yes, actually the Sprint field is not meant to be populated by users manually, as it is used for GreenHopper to track which Sprint that the issue belongs to. So basically when you add an issue to a Sprint in the Planning Board, then GreenHopper will update the Sprint field automatically with the Sprint ID. Hence, the auto-complete feature is not implemented for the field.

Anyway in order to achieve your requirement here, I believe that you may need to create a post function or something similar, to automatically add a newly created issue to a Sprint programmatically by populating the Sprint custom field.

thanks (although I'm not sure what a post function is or how to create one)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

630 views 0 7
Read article

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