I'm trying to build a dashboard using the Jira API. I'm able to get my list of issues using:
/rest/api/3/search
But when I update the assignee, it doesn't take effect into the API. the list of issues still says assignee: null
I'm using nextjs, and I noticed that if I delete the .next folder, and rebuild the site, the API data is updated. I'm trying to understand why this is happening? Or why the API response is being cached. I wanted to make sure that if there's an update in JIRA, it'll be updated in API without having to delete the .next folder.
Welcome to the Atlassian Community!
No, there is no lag - if you make a REST call to update an issue, then the issue will be updated before you get the response saying it was successful.
@Nic Brough -Adaptavist- i'm kind of curious - how would you approach streaming the API call? like so if there's an update from JIRA, it'll also update on NextJS client side?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.