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,466,185
Community Members
 
Community Events
176
Community Groups

Update component in Statuspage when tagging alerts

Hello,

We would like to automatically adjust the status of a component on StatusPage by applying tags on alerts.
The integration "StatusPage" is correctly defined and when we (manually) set the correct tag: cmp_[component name]:[status] on an alert, the StatusPage component is also updated correctly.
So far everything ok.

We have now created a Global policy that sets the same tag on the alert (works perfectly), but the status page does not want to update automatically.

So adding a tag manually works (component on StatusPage is updated)
But setting the same tag via a policy,  the component doesn't update.

Does anyone have an idea where the problem might be?

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Samir Atlassian Team Jun 30, 2021

Hi @Nico Lenaerts ,

 

It sounds like you have the integration setup so when the tag is added to the alert, the component is updated in SP...

e.g.

2021-06-30_09-46-58.png

 

That applies to the action of "adding a tag to an alert", so that's why it works when you manually add the tag to the alert.

 

However the policy adds the tag to the alert alert before it's created, so essentially the alert is being created with that tag, there isn't a separate action that is adding the tag after the alert is created, so that action isn't being triggered in the integration

 

So in that case, you'd want to setup the integration so that when an alert is created, it will create an incident in SP and update the components'/incident's statuses according to the tags...

e.g.

2021-06-30_09-47-15.png

 

Hope that helps!

 

Thanks,

Samir

Hey Samir,

 

Thx for your feedback!

From what you are saying I did come up with a solution that matches our needed configuration in OpsGenie.

 

I've setup the StatusPage integration as followed:

- Apply only when tag "statuspage" is present.

- Create alert --> Create incident and update component

- Ackn & close alert --> Close incident and set component back to operational

 

Global policies (forEach StatusPage component):

- Update (add) tag to alert based on personal criteria

--> Tag: "statuspage" & tag "cmp_[component name]:[status]"

 

Now our components in StatusPage will update automatically based on alerts that are flowing into OpsGenie

 

Thank you!

Samir Atlassian Team Jul 01, 2021

Great! Glad you got it working as desired!

Like Nico Lenaerts likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events