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

Groovy snippet for fast tracking except on Create transition

Hi,

I've used scriptrunner to create a fast-track transition whenever the assignee is updated on a ticket. I didn't foresee the use case where the project had the assignee defaulted to the Project Lead so it's triggering the fast-track even on Create. I'm looking for a groovy snippet to enter as a Condition to ignore the fast-track if action is on Create. Any suggestions?

 

2 answers

1 accepted

1 vote
Answer accepted

Thanks Bryan, but I think I figured it out! Putting this as the Condition seems to get the job done

issue.getStatus() == null
0 votes
brbojorque Community Leader Dec 30, 2019

Hi @Heather Rimmey ,

Show us your script so we can check.

Pseudocode.

  • What you can do is check who is the Project Lead on the project.
  • If the Assignee on the Create Screen is the same as the Project Lead
  • Then skip the whole fast-tracking process

Suggest an answer

Log in or Sign up to answer
TAGS

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