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

Accepted Answer
0 votes

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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

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