Forums

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

Refresh issue screen on status update by rest call

Muhammad Ramzan_Atlassian Certified Master_
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.
March 5, 2020

Hello everyone,  hope you doing good.

Feom jenkin,  I am updating status of jira issue from rest for each build.

Now my concern is, on jira side status is updated but it will not reflect until user reload the page.

Is there a way we can inject javascript or something to reload the issue screen once status is updated.

1 answer

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2020

Hello @Muhammad Ramzan_Atlassian Certified Master_ ,

I answered a similar question related to this back in January of last year, but in contrast to  your request this one was asking about refreshing the board views rather than the direct issue view, but the same blockers exist in both locations:

There is also another thread viewable here that has some additional discussion surrounding this:

The main take away is that the data is loaded into the browser and becomes a static value client side, and the client would need something to occur to trigger a request to update the locally stored content, and while you can write a script (there is an example linked in the thread) to do a browser side refresh on an interval, however I would recomend against doing this as there are some limitation in the refresh that would disrupt the end user including wiping any in progress data that is being entered into a field like a comment a user may be typing out when the refresh occurs.

Also the feature requests in the thread above are board specific as well and we have an additional request where we are tracking interest in a issue view refresh capability like you are looking for at the link below, make sure to add a vote to show your interest and help influence a priority bump as described in the "Implementation of New Features Policy" :

Regards,
Earl

Muhammad Ramzan_Atlassian Certified Master_
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.
March 22, 2020

Thanks for detailed clarification

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer