Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Survey Feedback Link

Hi Experts

I need to turn off JIRA notification scheme and use my own Custom Email for sending updates on Issues - I am sending an email to Reporter when Issue is resolved and need to include Survey link in the Resolution email - I was trying to use below:


But this doesn't seem to work - do we need token that is sent in JIRA resolution email.



Please suggest if I can get a Survey link in my Custom Email.


Dear Jyoti,

Have you found a solution to your problem? I am facing the same issue. When the notification is activated, the token is generated and I can retrieve it. However, if the notification is deactivated, the token is never generated. 

Best regards,



I found a way to generate this link on my own. I do not think that it is the best way to do this, but it solves the problem.

String jsonToken = "{\"token\":\"%s\",\"issueID\":%s,\"userKey\":\"%s\"}";
String token = DefaultSecureTokenGenerator.getInstance().generateToken();
EntityPropertyService.PropertyInput propertyInput = new EntityPropertyService.PropertyInput(String.format(jsonToken, token, issue.getId().toString(), issue.getReporter().getKey()), "feedback.token.key");
EntityPropertyService.SetPropertyValidationResult validationResult = issuePropertyService.validateSetProperty(issue.getReporter(), issue.getId(), propertyInput);
this.issuePropertyService.setProperty(issue.getReporter(), validationResult);

issuePropertyService you can get in constructor or by ComponentAccessor

After this you can use this token in link

Best regards,



Log in or Sign up to comment
Community showcase
Published in Jira Service Management

Just dropped! New Lightning Talks: Marketplace episodes

  Hi everyone! Want to learn how customizing your Atlassian apps can improve workflows, enhance teamwork, and boost efficiency across your organization? Check out our new, 15-minute Lig...

120 views 0 1
Read article

Atlassian Community Events