Send a custom email in post-function in JIRA workflow

Tony Zhang October 20, 2015

Hi all,

I want to send a custom email as a post-function in JIRA work follow. I want to the conditions should be satisfy as:

  1. when the project name = "service centre"

I don't know the code of it. please can someone suggest?

Thanks

Tony

 

2 answers

2 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2015

Use the projectObject. See below

issue.projectObject.name == 'Service Centre'

Tony Zhang October 20, 2015

Thanks guys, Do you know if there is a document to describe all the attributes such as issue.getobject.name ? Thanks Tony

Thanos Batagiannis _Adaptavist_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2015
2 votes
Thanos Batagiannis _Adaptavist_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2015

Hi Tony,

The condition you want should be 

issue.projectObject.name === "service centre"

Suggest an answer

Log in or Sign up to answer