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 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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

247 views 1 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