How can I get the JIRA issue number (key) as a reference in an SMS?

I want to send an SMS message to a customer who phones in. The call will be logged by a call centre agent and an SMS will be send to a mobile number (which is defined by a custom field). it is important to send the JIRA ticket number that will be used by the client as a reference.

The best I could think of to do this is to use a custom field with concatenated text fields to make up SMS content because the polontech SMS add on can send a custom field as part of an SMS.

Therefore the Innovalog add on "Misc Custom Fields" (Version:1.5.10) was used to concatenate the SMS content (Calculated Text Field). See the instructions on https://innovalog.atlassian.net/wiki/display/JMCF/JIRA+Misc+Custom+Fields#JIRAMiscCustomFields-calculatedtextfield

This almost works but I cannot get the JIRA ticket number into the custom field, I can concatenate all ticket data but for some reason I cannot get the JIRA ticket number in the custom field. When the key is added (see my formula below) in the string no value is returned.

My formula is as follow:

<!-- @@Formula: "Reference nr " + issue.get("key") -->

Any suggestions why my formula does not work?

Any other ways to send an SMS with a JIRA reference nr?

1 answer

1 accepted

I found a way (maybe not the most elegant, but it works):Customised workflow add on - I used the copy from field to field post condition to populate a custom field. I then used the custom field in the formula as described above.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot