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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

21 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