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:
I don't know the code of it. please can someone suggest?
Thanks
Tony
Use the projectObject. See below
issue.projectObject.name == 'Service Centre'
Thanks guys, Do you know if there is a document to describe all the attributes such as issue.getobject.name ? Thanks Tony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can have a look at https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_workflow_functions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tony,
The condition you want should be
issue.projectObject.name === "service centre"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.