Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a lag time between updating JIRA tickets and using API? assignee is NULL

letsbuild December 16, 2023

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.

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2023

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.

letsbuild December 18, 2023

Hmmm, oh okay thanks, must be my implementation or some kind of caching issue with nextjs. thanks

letsbuild December 18, 2023

@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?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events