Email component subscriptions through API showing blank values

Balamurugan Pasumpon October 25, 2023

Our organization using audience specific statuspage. When adding new components and associated with the group, these components are not automatically subscribed to email notifications. We have to manually subscribe the components from management pages which is a tedious task to enroll for multiple users. So we have decided to update the component subscription through API and we done it successfully. However, when we export the users from audience page for validating, the 'Email component subscriptions' column of csv file displays blank values. This only occurs when updates are made via the API. Is this an existing issue? Can you assist in resolving this issue?

1 answer

0 votes
Darren.Burrows
Contributor
October 26, 2023

We also use audience specific pages and I believe this is expected behaviour. 

If you're signing them up to all components the subscription set will return as blank on the CSV, this is because statuspage records both if you are a subscriber and what you are subscribed to. So if the list of subscriptions is blank, statuspage assumes that user is subscribed to all components. 

 

You can prove this by using API to sign up users to components, if you send a request that contains no components, statuspage will sign that account up to all components. 

Balamurugan Pasumpon October 27, 2023

Thank you @Darren.Burrows 

I am fine with this being anticipated behavior, but when I manually update subscriptions from the admin pages, I receive the values correctly in the csv.

Darren.Burrows
Contributor
October 30, 2023

Is that for when a sub has all options or just some, because I have yet to see this being the case regardless of how we update a subscriber where they have all options selected. I only ever see specific components listed when they have one or more selected, but not all. 

Balamurugan Pasumpon November 2, 2023

Atlassian team opened a bug ticket to the development team for empty components in Export to csv file when calling the update subscriber endpoint. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events