I am developing a plugin that acts as a Dashboard Item.
The plugin is built in React. I have a cookie need and I decided to use the library:
Unfortunately, after saving the cookie, the value (undefined) could not be read. Locally - when I test the content (from another iframe server) it works fine. I tried to set the cookie domain parameter to the JIRA Cloud server domain but it didn’t work.
Perhaps it was wise to use AP.cookie
but unfortunately AP.cookie.read uses callback (instead of promise) - which is problematic in my case.
Could someone advise something on this?