TIL - How to prevent Ticket creation in a status with Transition from Any

TIL (Today I Learned) something worth sharing. I had not seen this before, but one of my clients pointed out a problem with their board.

Problem

Snag_24ad32c4.png

The arrows point to what they saw, which is the ability to create a ticket in the On Hold or Done statuses. This was definitely behavior that they did not want.

The reason that this was happening is that I had created a "Transition from Any Status" into these two statuses. This allowed them to place an issue On Hold regardless of its current status and to Cancel Issue from any status. However, this "Transition from Any Status"' is being interpreted by Jira as including from the pre-creation status.

Snag_24b01673.png

Solution

Once I realized what was causing this, the solution was pretty clear. I edited the workflow to place a "Previous Status" condition on both transitions. I require the ticket to have at least been in Planning, where it should always start, before it can be put On Hold or Canceled (moved to Done).

Snag_24b1ceb2.png

Today I learned something and thought I would share it with you.

 

6 comments

Shawn Stevens
Contributor
February 27, 2025

Derek, 

Thanks for detailed explanation and I'm actually surprised someone here at my Company hasn't bumped into this, but we try and restrict the Any mapping but we have them. 

Like Anne Saunders likes this
Garth Smitman
Contributor
February 27, 2025

Thank you for this!

I had not used this option before, but I can see where it would come in handy for more than just 'DONE' and 'On Hold'.  My scrums masters are huge fans of 'let me put it in any state from any state' - then get a bit salty when a ticket magically 'jumps lanes' by someone other than themselves (in most cases, another scrum master or the Release Train Engineer).

Like # people like this
Alfonso Leiva
Contributor
February 27, 2025

Nice workaround! 

jessica February 28, 2025

Thank you for sharing this!

Erick Miranda Márquez
Contributor
February 28, 2025

Excellent explanation, thanks!

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 28, 2025

The feature you found is a manifestation of the feature that allows users to set the status of an issue during issue creation, to any status in the workflow that has an incoming global transition.

https://jira.atlassian.com/browse/JRACLOUD-69559

Screenshot 2025-02-28 at 6.44.20 PM.png

 

You can disable this feature for the entire Jira instance by editing the System > General Configuration settings. This setting is not displayed when you are viewing General Configuration. It displays only when you Edit the settings.

 

Screenshot 2025-02-28 at 6.41.59 PM.png

TAGS
AUG Leaders

Atlassian Community Events