It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Posted in Agile

Overview of Advanced Roadmaps UI + Get started with Automation for Jira - Demo Den September 2020

Deliver better and faster value to your customers with the Jira automation platform. Watch this Demo Den series below to learn how to use the new interface and set up automation rules to help your te...

1,128 views 2 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you