Jira issue collector custom feedback message

Hi Team,

I am new to Issue collector, I have managed to customize the feedback message. but some how the customize message only works in IE but when I use FireFox I dont see the CR number.

My customize message is as below:

collector.plugin.template.thanks.recorded=Your request has been raised. Your reference ID is {0}. This window will automatically close in 5 seconds.
collector.plugin.template.thanks.no.permission=Your request has been raised. Your reference ID is {0}. This window will automatically close in 5 seconds.

This give me proper ID number for ex CR-61 in IE while in firefox it just shows {o}

Could you please help ?

Regards

Avinav

2 answers

Can you please have a look into this issue ?

Regards

Avinav

It seems that the "<tt>collector.plugin.template.thanks.no.permission</tt>" property does not take any argument. So, the idea of that template is to give a message to someone who has no permission to view the issue link (non-logged in user), therefore it does not render the issue in {0}. As it can also be seen in the source:

if(response.url !==undefined){var linkHtml ="<a class=\"issue-key\" target=\"_blank\" href=\""+ response.url +"\">"+ response.key +"</a>"; successMsg ="<p>"+ AJS.format(AJS.I18n.getText("collector.plugin.template.thanks.recorded"), linkHtml)+"</p>";}else{ successMsg ="<p>"+ AJS.I18n.getText("collector.plugin.template.thanks.no.permission")+"</p>";} 

You can see that no.permission has no second parameter to the method.

You can remove the {0} parameter from "<tt>collector.plugin.template.thanks.no.permission</tt>", or if you want the issue to be displayed in the message, give access permission to the customer who raised the ticket (assign Create Issue permission to Anyone (Group))

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 Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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