The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Deleted user
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 Champions.
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 Champions.
October 20, 2015

Hi Tony,

The condition you want should be 

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