Is there any solution to set dynamic value instead of jason number field?

GG
Contributor
December 27, 2020

I want to send an SMS to the Reporter according to the following scenario:
When the request is "waiting for information", I will post the following web service to the SMS sending software.

{"SmsText": "hi", "Receivers": "97812xxxxxxx, 97812xxxxxxxx,…",

"SenderId": "22000", IsUnicode: true, IsFlash: false, UDH: "" "CheckId": "",}

The problem is that in the web service of the SMS sender software, the mobile number is received as a number in Jason format, while this number changes dynamically according to the reporter. How can I send the mobile number field from reporter's profile in Jason format?

2 answers

0 votes
Muhammad Ramzan_Atlassian Certified Master_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2020

I think you need to store it as custom field , currently the avaialble values for a user are 

'accountId', 'displayName', 'getProjectRoles', 'groups', 'permissions', 'properties'

 

https://support.atlassian.com/jira-software-cloud/docs/smart-values-users/

 

 

You might can try to explore the properties and might be you can get something usefull.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2020

How are you doing this send and where?  How have you stored the mobile number in Jira?

GG
Contributor
January 5, 2021

I send it with provider web service (as json format).

I stored as a "mobile" custom field.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events