Hi ladies and gentelmen!
I'am trying to set some automatic workflow and have some succes, but it may be broken by users in case of their "switch status" interference during scripts executions.
Is there a way to block transtions for users during automation scripts execution?
If I understand your question, you want to prevent people from transitioning issues while automation workflow and rules are running. Is that correct?
I expect the answer is "no". Workflow and automation rules are event-triggered, and so a person transitioning an issue could trigger a rule, or during a very narrow window of time, conflict with the automation processing.
I recommend reviewing what you are doing with automation (workflow and rules), determine where impacts could occur, and adjust your automation accordingly.
Hi @Bill Sheboy
That's correct what I meant. I tried to adjust it, do independant scripts and had some succes too, but unfortunatly user still can use some limited time window to trigger another rule and what can affect to execution of current rule( Trying to find some solution now by using properties to restrict all groups exept automation jira app in case of rule's start
Thanks for explaining, Roman. That is an interesting approach... It seems you are describing checking the triggering user (or a property of them) to have the rule abandon processing in some cases. Please post back here what you learn/decide to use.
One messy part of this use case is that once a rule is triggered and has the state of an issue, that context is used for rule execution. If an issue's content changes *during* the rule execution it is not visible to the rule, and so could be replaced by the rule execution. So even when a user does not trigger a rule through their actions, there can be data collision. Using the re-fetch action can help, but it dramatically slows rule processing.
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