Missed Team ’24? Catch up on announcements here.

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

Unable to reorder component group via API

mikea59
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!
October 14, 2020

I keep getting a 400 error with the message, `Component is Missing`

 

My payload and URL looks like this:

{
  description : 'this is the new description',
  component_group: {
    name : comp_group[0].name,
    components: [

      'comp_1',

      'comp_2', ...

    ]
  }
}

 

URL: https://api.statuspage.io/v1/pages/********/components/*********.json?api_key=************

 

1 answer

0 votes
Zach
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2020

Hey Mikea, 

What was it you were looking to do with your call? Here's an example of something I was able to submit whenever sending a patch to change a component group - 

 

{
"component_group": {
"components": [
"dnk673lyxzhw",
"7s1rmqsqzfr5",
"k43bv847x9mr"
],
"description": "something new",
"name": "new name"
}
}

Hopefully this helps!  

mikea59
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!
October 16, 2020

I was trying to set the order of the components inside of the component group. Maybe I was putting the component names rather than the ID's and that's causing the missing message. Let me look into that

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events