Forums

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

How to update custom panel after issue update on Jira Agile Board view?

Efrosina Hristova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2018

Hi I want to build a custom panel/custom field on the Jira Agile board view and I need it to be refreshed after something on the selected issue changes. I see there are separate rests for header, subtasks, issuelinks etc, but I don't know how to tell Jira to send rest to update the content of a custom panel?

1 answer

0 votes
Alexey Matveev
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 Champions.
October 19, 2018

Hello,

You could check if your panel updates or not by Jira itself. If it is not updated, then you would need to implement the update feature in your panel code (You could use a timer to check, if something changed in the issue).

Efrosina Hristova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 19, 2018

yes, it doesn't update. I was wandering if there is some more proper method than timers, like to tell Jira that it has to update my panel also.
I see there is some logic - ISSUE_EDITOR_RELATED_TABS in EditableDetailsViewReloader.js and was wandering if I can somehow include my tab to this reloader. The problem with timers and refreshing is that it will make the whole update process longer

Alexey Matveev
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 Champions.
October 19, 2018

What I meant is to make a timer in your js. It will not make updates work longer. The logic is the same like in EditableDetailsViewReloader.js. If you could attach your panel to the same reloader then it would be good.

Suggest an answer

Log in or Sign up to answer