Skip to main content

Issue must be in the current sprint

Problem

When working in agile projects using sprints, you might want to enforce discipline by making sure that only issues which are part of the current sprint can be set to a certain status such as "In Progress".

Solution

You can do this either with a condition or a validator. In either case, add a custom condition (validator) to those transitions you want to control and use the following Jira expression:

issue.sprint.state == 'active'