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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update a notification using mywork REST API

VS I'm New Here Jun 22, 2021

Hi!

I'm currently working on a small notification system within Jira using the REST informations in Confluence. I need to get the notification and edit them without any sort of confluence authentification so I can only use the rest endpoints that support a bypass.

The fetching is working great however I can't get the updating working. I'm using the Notifications and Tasks REST API.

  • GET: /rest/mywork/latest/notification?os_authType=all&bypass=myUsername
  • POST: /rest/mywork/latest/notification?os_authType=all&bypass=myUsername

I don't feel the need to share some code because even a request in Postman isn't working. Using a POST only  create a notification even though the documentation mention it creates and update.

Ultimately I want to change the read value from false to true but it only creates a new notification instead of updating.

I've tried to send the whole notification with the read value changed in the body but it still creates a new one.

Hopefully someone can help me, thanks a lot! Have a great day

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

170 views 6 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you