Trigger a different transition when creating

Hello,

While creating a bug issue, if I am the reporter, I want the issue to transition to an OPEN status by triggering the Valid transition otherwise it will go to NEW. I am using a post function Update Transition on the Create transition. Here is my condition:

issue.get("Reporter").getValue().equalsIgnoreCase("claire rogers")

This for some reason is not working, Please advise, thanks! Claire

 

 

 

3 answers

I've used a scripted "Fast track transition" post function to do this, I'm not familiar with "Update Transition".  Is that what you are using as well?

To expand on that a little, Jeremy (and I) would like to know what add-on you are using to get the "update transition" function. It's not he name of any function I've seen in add-ons, so you're either using an add-on we haven't seen, or you are calling a function we do know by the wrong name.

Hello,

Pardon the misinformation! I used the Post Function called "Transition Issue".

  1. On Create Issue, I added the post function.

 

 

ForSupport1.PNG

2. I selected Transition Issue.

ForSupport3.PNG

3. I entered the ID for the transition that I want it to execute. I entered the condition, updated and published. When I create one, it does not transition to Open, it still goes to New.

image2015-11-20 9:17:34.png

Here's the ID for the transition:

ForSupport4.PNG

I do not get the results I expected. Note that Status is still New instead of Open.

Please advise. Thanks!

I'm not familiar with that add-on, but it seems pretty straightforward.  Perhaps the return value of "issue.get("Reporter").getValue()" is the username and not the full name?  That's harder to verify now that they've taken out the condition tester script, but some examples I just looked through suggest that could be the case.

I still don't know what the add-on in use here is!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

46 views 0 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you