I'm a designer working on the Jira Cloud team. We are currently working on bringing back 'global loop transitions' into the new issue view and I would love to have a short video call to learn about your use cases and get your feedback on some new designs for this.
If you have time to spare for a 30 minute call we'd really appreciate your time and I can offer an Amazon gift card for $75 USD as a thank you.
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 Leaders.
Thanks, @Arjan Helmer - we aren't actually using global loops; when I posted the question last year I was just curious how it would translate to the new issue view if we wanted to use them.
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 Leaders.
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 Leaders.
Another use case of a global looping transition worth mentioning: Locking an issue to prevent concurrent editions.
Have you ever edited an issue's description and seen your changes disappear because another user was also editing it at the same time?
While this problem can be solved by third party apps like Issue Lock for Jira (who's editing), we are going to go through a native way of achieving the same goal.
1.- Create a new User Picker (single user) custom field and name it something representative, I recommend using Editor.
2.- Modify the Permission Scheme to grant Edit Issues permission just to User Custom Field Value (Editor).
3.- Add a global looping transition, called Lock Issue, and add a post-function to add the user that transitioned the issue into the Editor field. Recommended: Add a Condition to show the transition only if the Editor field is empty.
4.- Add a second global looping transition called Unlock Issue that clears the content on the Editor field. Add a Condition that shows the transition only if the Editor field contains a value.
In this use case, it would be recommended to order transitions with the ‘opsbar-sequence’ property so that global looping transitions show up at the top.
* Warning: if instead of the Condition described on step 4 you add a different Condition that only allows the user in the Editor field to unlock the issue, you run the risk of blocking the issue if the user forgets to unlock it. While the editor would have more control with this Condition, I wouldn't recommend setting it unless you counted with an automated way for unlocking the issue after some time had elapsed, like an Automation rule or a Script Job.
As Automation is bundled on all Jira Cloud instances, let's show how to set the automation to unlock issues:
Please, note that the Edit issue fields Action requires just to select the Editor field and save it (no value needs to be selected for the Editor field to be cleared).
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 Leaders.
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 Leaders.
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 Leaders.
Under some circumstances, you might prefer to use a Validator rather than a Condition, especially if you can show an error message, but Conditions are generally preferable in most of the cases, since they completely hide the transition.
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 Leaders.
37 comments