JETI - is there a way to populate fields on the email from with URL parameters?

Ferenc Szabo October 27, 2016

Hi,

We have custom action buttons that are redirecting the user to the email form (using SIL scripts). The redirect url looks like this:

https://jira.server.com/secure/com.metainf.jira.plugin.emailissue.action.EmailThisIssue!view.jspa?id=1234

Is there a way to populate the fields on the email form with URL parameters? Here is an example

https://jira.server.com/secure/com.metainf.jira.plugin.emailissue.action.EmailThisIssue!view.jspa?id=1234&to=x@y.com&cc=xyz@mail.com,zzz@mail.com

And this url would set the to and the cc field on our form to these values. Is there a way to accomplish this?

I saw it here: https://metainf.atlassian.net/browse/JETI-3 that this is possible through getting the default values from the ticket's fields.

Thanks,

Ferenc

2 answers

0 votes
Ferenc Szabo October 27, 2016

Koszonom a gyors valaszt! smile

0 votes
Tibor Hegyi _META-INF_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 27, 2016

Hi Ferenc,

Please add the parameters to the query string: emailIssueTo, emailIssueCc. These accept comma-separated list of JIRA user names or email addresses.

 

E.g. 

 

https://jira.server.com/secure/com.metainf.jira.plugin.emailissue.action.EmailThisIssue!view.jspa?id=1234&emailIssueTo=x@y.com&emailIssueCc=xyz@mail.com,zzz@mail.com

This should preset the recipients.

Tibor

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events