Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Account ID's characters are not consistent when we use @notation in Comments

Santosh Kumar P
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2020

We are trying to integrate JIRA to Salesforce comments using Webhook. When a comment is added in JIRA cloud with @notation account id's characters are not consistent.

for example:

if the user from Jira comments as below

@Benny@Santoshthere is an issue with software product

in JSON it is displayed as

"body": "[~557058:3a615eaf-4eae-83c5-a6fc-d9e14cbcf23z] [~accountid:94fa74f2ae59a476a55d3b74] \n there is an issue with software product"

below is the issue-

@Benny:  557058:3a615eaf-4eae-83c5-a6fc-d9e14cbcf23z has 43 characters

@Santosh: 94fa74f2ae59a476a55d3b74 has 24 characters

we wanted to know this is only two combination(i.e., 43 and 24 characters) do we have?

In future characters limit will be changed? based on confirmation will customize the logic. Please suggest.

Thanks in advance!

 

1 answer

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2020

Hello @Santosh Kumar P

Welcome to the Atlassian Community.

Indeed, the Account ID of users can have different formats in Jira, not restricted to the two you selected. It can have several formats, like the ones below:

Example 1 - 557058:5aedf933-2312-40bc-b328-0c21314167f0 
Example 2 - 5c00beb62434bf3a1a91d5d6 
Example 3 - 123123adfafcadfd6

The only pattern we have is that each account ID is unique and It is 1-128 characters long and may contain alphanumeric characters as well as - and : characters, as described in the thread below:

Account ID formats - Atlassian Development 

That being said, the format and number of characters might differ depending on when, where, or how the account is created, not having any other patterns that can be defined.

Additionally to the information above, we also have official documentation with more information that provides more details. You can check the section "Reporting user personal data for your apps" in the link below:

User privacy guide for app developers 

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events