Field Filling Condition

Good afternoon. 
Tell me how to set: Script Listeners - Send a custom email, and how to fill the Condition field. 
What would the transition to a certain status outgoing messages. 
Thank you.

5 answers

1 accepted

This widget could not be displayed.

I solved the problem.

Variable is called: issue.status.name.

Yes.

For example:

 Condition for priority: issue.priority.name == 'Major'

Condition for type: issue.issueType.name == 'Bug'

What name is for variable type Status?

 

This widget could not be displayed.
Vasiliy Zverev Community Champion Mar 13, 2016

Condition is some boolean expresiion writen on Groovy. 

Do you need some help with code?

This widget could not be displayed.
Yes, if it's possible. 
I would be grateful.
Vasiliy Zverev Community Champion Mar 15, 2016

As I anderstand you need to make sure than an issue will be into specified status after transition?

This widget could not be displayed.

Hi Ilya,

Have you tried working your way through the ScriptRunner documentation for Script Listeners?

Another useful link is the Send a custom email which is done in a similar way.

I hope that helps,

M

This widget could not be displayed.

Yes, but I did not find the name of a variable, which is responsible for the status of the request.

Tell me please. 

Suggest an answer

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

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

169 views 1 3
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