Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,448
Community Members
 
Community Events
176
Community Groups

Getting API error when adding note to alert

Iam trying to add a note to an alert having tiny id 39 and getting the following error
Tried doing the same with IdentifierType as ID and Alias, still getting the same error

Body(In JSON)
{
"user":"ramu",
"source": "IT",
"note":"Action executed API ram 3"
}


{
"result": "Request will be processed",
"took": 0.007,
"requestId": "ed26e563-b33c-479c-bcc5-41c6ff399202"
}


{{server}}alerts/requests/ed26e563-b33c-479c-bcc5-41c6ff399202
{
"data": {
"success": false,
"action": "Add Note",
"processedAt": "2022-03-03T08:13:24.088Z",
"integrationId": "49cf8e9f-7ac7-438d-9086-3a48a940e46f",
"isSuccess": false,
"status": "[tinyId] length exceeds the maximum value [6]",
"alertId": "",
"alias": ""
},
"took": 0.004,
"requestId": "ab2b9bd7-f764-478d-9226-8c2815651590"
}

2 answers

0 votes
Nick H Atlassian Team Mar 03, 2022

Hi @Ramshankar ,

Not entirely sure I've seen the error - "status": "[tinyId] length exceeds the maximum value [6]", - but if you were trying to add a note to an alert via API, and use the Tiny ID in the parameters, it'd look like this:

nc1.jpgnc2.jpg

@Ramshankar it would help if you added the query parameters you're using. Make sure to match the identifier used in the URL with the type of identifier you're using:

The error message seems to indicate you used 'identifierType=tiny' but maybe provided a full ID in the URL.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events