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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

455 views 83 11
Join discussion

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