Forums

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

How to set JIRA parameter to a link of customize email template

Fangyuan Tian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2021

Hi I would like to collect user feedback via survey monkey by using JIRA workflow post function. I know it's possible to send a  email and save this survey link in the template.

But I would like to set up variables to passing "ticket num", "category", "assignee" to survey monkey through url.

 

Here's my survey url, it would be good to replace the values with Jira parameters dynamically.

https://jp.surveymonkey.com/r/XXXXXX?TicketNum=[TicketNum_value]&Category=[Category_value]&Assignee=[Assignee_value]

 

In article https://confluence.atlassian.com/adminjiraserver/examples-customizing-email-content-1027142311.html ,  I found some example like below.

<a href='${baseurl}/browse/${issue.getKey()}'>$textutils.htmlEncode($issue.getSummary())</a>

I tried to setup code like this in email template, but turned out didn't work. It was just passed "${issue.getKey()}" as the value to the survey not the dynamic ticket num value.

<a href= "https://jp.surveymonkey.com/r/XXXXX?TicketNum=${issue.getKey()}&Category=[Category_value]&Assignee=[Assignee_value]"> 

How do I set up jira parameters in the link? Can someone help me out? 

1 answer

0 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2021

We support using Placeholders in Notification Assistant for Jira and you can set these links in your emails. 

Suggest an answer

Log in or Sign up to answer