Auto refresh the fields / issue in jira-cloud

Hi folks,
I’m building a plugin where I’m making use of webhooks for “issue-create” and “issue-update”. I have two custom fields whose values should be updated when I change reporter / assignee. Currently I’m able to set the values for custom fields based on assignee/reporter but whenever I do that I need to refresh the issue in order to see the changes. Is there a way when I change assignee/reporter the issue or the issue fields auto refreshes and set new values? TIA.

1 Like

Hi @NishantV,

I think you can use the Javascript API for this.

May be the refreshIssuePage() method could help:
AP.jira.refreshIssuePage();

Regards,
Paulo Alves.