Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Different Workflows with same tranistion/status run both scripts on transition

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?



1 answer

0 votes
John Funk Community Leader Nov 17, 2020

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.



Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

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 ...

7,193 views 8 28
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