You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I have 2 workflows with the same transitions (Ready for Work) and statuses (In Progress). Each workflow has a post function.
Looking at the logs, I noticed that when I go through the workflow of one, both scripts are run.
Do I have to create a new status for one of the workflows when I need to run a script?
Thanks,
Martha
Hi @mf - Welcome to the Atlassian Community!
Can you provide some more details about the "script"? Are you using an Automation For Jira rule? A ScriptRunner script? Etc.
Where is the "script" placed? Can you share it?
Hi John,
The ScriptRunner script is in multiple workflow post functions. the function iterates a field that has a list of projects and creates an Epic in each of those projects.
Below is a screenshot of the list of ScriptRunner Post functions. You can see in the history that the scripts all ran at the same time. Each one is in a different project and different workflows. It appears if I use the Ready for Development (81) transition in multiple places, when it is run for 1 workflow it is run for all workflows with Ready for Development transition.
Also - I am working in the cloud version.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.