The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Preventing ticket being added to sprint/blocking sprint start

Jakub Cieplinski
Contributor
January 27, 2022

Is it possible, using the scriptrunner plugin, to either block issues from being added to sprint if they've been in a sprint before and/or prevent sprint from starting if such issues are in planned sprint.

 

What I want to achieve is a particular type of ticket that throughout it's lifetime can be only in one sprint, and every new sprint will need to have a new ticket of that type created for itself.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 29, 2022

I don't think that's possible.

At least I can't think of a way to achieve this.

There is nothing in script runner that would prevent manipulations from the backlog to drag issues to/front sprints.

The best you could do is generate some after-the-fact warning/notifications. Like check for such change taking place and either flagging the issue, adding a comment, or sending a custom notification to users/leaders/managers saying "hey you did something wrong here, don't do it again". 

Jakub Cieplinski
Contributor
January 30, 2022

I assume same would be true for closing the sprint? ie. blocking sprint from closing if 2 issues of the same type for example are present in it?

PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 31, 2022

Correct, that is my understanding as well.