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
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
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
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