Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,839
Community Members
 
Community Events
168
Community Groups

Conditional removing of an issue from a Sprint

If an issue belonging to a sprint is in a specific JIRA workflow state, its removal from the sprint must be prohibited.

In this condition, even the sprint must be prevented from being closed.

How can I do that?

1 answer

0 votes

Hi Antonio

To achieve this behaviour you can do the following:

  1. Browse through the workflows page in JIRA and edit the workflow that's being used for this Agile board and sprint
  2. Click on the specific transition you want to restrict
  3. In the "Conditions" tab, add a new condition based on "Value Field"
  4. In the next screen, choose the "Sprint" field and specify that it mustn't be empty
  5. Save and publish the workflow draft

This will create a condition in the workflow where the transition can only be performed if the sprint field is not empty. Please notice that this will restrict issues that aren't in any sprints to be transitioned, so this will only work as expected if you have one specific workflow for issues being used in JIRA Agile.

Hope this helps!

Cheers

Hi, Pietro,

Thanks for the clues, but I think this will not help. Let me explain better the behavior I'm looking for:

I am looking at my Agile board, and it is in the Plan Mode. In this situation, I am free to manually take ANY issue that belongs to a Sprint and slide it down in the screen, removing it from the Sprint and putting it in the Backlog situation.

As an example, one of my issues in this sprint, is in my custumized JIRA Workflow state named "Waiting-for-client-answer".

In this situation, if I try to take this issue out of the Sprint to put it back in the Backlog situation, this should not be allowed. Only issues that aren't in the "Waiting-for-client-answer" state can be removed from the sprint.

Note that this situation is not related to any specif transition in my workflow, so the "Conditions" clause cannot help me in this case...

Hi, forum friends, any clue, please?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events