In Service Desk template comments the {CURSOR} "directive" does nothing

Hi,

I'm evaluating scriptrunner "addon" for canned responses.

The one thing I can't get to work is the "{CURSOR}".

In visual mode for the comment it will not go to the right spot!

In text mode it seems to work though. Is that an expected behaviour or am I doing somthing wrong?

1 answer

Hi, which version of canned responses are you using?

Cheers!

Dyelamos

Hi Daniel

I'm evaluating 1.0.8

Can you send me your full template, JIRA version, and SR version? We are currently using that very version in our production instance of JIRA with SR and we do not have that problem. 

Cheers!

Jira 7.3.1

SR 5.0.14

Canned 1.0.8

Can you send me the template you are using?

Thanks!

Hej ${customerFirstName},

{CURSOR}

Med venlig hilsen
STIL Support
${agentFirstname}

Hey, can you try this:

Hi ${customerFirstName},

{CURSOR}

Your ticket has been resolved.

Regards,
${agentFirstname}

Also, do you have any other editors enabled in your JIRA instance that isn't the built-in one? If you do, that might be the cause of the problem.

Cheers

Dyelamos

Tried above.

Same reaction as my own template. It seems the error are there in *some* cases when comments are set to "Visual" and I use the Comment button. All the text seems selected. When I use text mode: no problem. Sometimes in visual mode: no problem. Ufortunately I can't recreagte the problem consistently.

No, to the best of my knowledge, I do not use any other editors

What browser are you using?

IE11 and/or Chrome 61

Can you capture your browser logs after the problem arises again? Without them I'm going to be flying blind. 

Cheers and apologies for the inconveniences

Dyelamos

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

313 views 0 6
Read article

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