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

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

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

Koszonom a gyors valaszt! smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

133 views 6 8
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you