Forums

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

Post Function Custom Send Mail

Sema YILDIRIM
Contributor
August 12, 2020

hi,

How can I write information from "issue" with "post function" in "Jira" to the body of the mail?

For example:

Issue Summary

Issue Desciription: ...

2 answers

0 votes
John Funk
Community Champion
August 14, 2020

Hi @Sema YILDIRIM  - Here's some more information to get you started with Automation For Jira:

There are two types of automation:

  • Global: In the Free version, you get 100 executions per product, per month
  • Project: In all versions, you get unlimited executions per month

Automation Basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation

You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, go to Jira Settings > System > Automation Rules (left-hand menu).

For more on using Automation For Jira see these help pages.

So you will create a rule with the Issue Transitioned trigger.

Then add any Conditions you want

And finally, click New Action and add Send Email. 

0 votes
Avinash Bhagawati {Appfire}
Community Champion
August 12, 2020

Hi @Sema YILDIRIM ,

With the help of  Automation of Jira app, you can write an automation rule like when issue is transitioned( trigger) ,send Email(action) with required details. Also automation for Jira provides smart values which can substituted in mail body for issue summary,description,reporter etc. 

Thanks,

Avinash

Sema YILDIRIM
Contributor
August 12, 2020

Can you share sample code? I'm doing it with custom script. Because I will get the mail content from a different database.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events