Update Structure view from plugin

Hello.

I`m developing a plugin that listen to the updates from any issue.

When the issue is updated, from the default screen or from the structure view, i have to update some fields on the children issues and parent. This is working well. I can navigate through the Structure and update them.

The problem is that the fields of the children and parent`s issue is not updated on the screen.

Is there a way to refresh the Structure with the new values from my plug-in?

Thanks.

1 answer

1 accepted

1 vote

Hi Victor, make sure that when you update the fields, you send a notification event for the updated issue (this actually should be done automatically by JIRA API). Structure plugin polls JIRA periodically and should refresh the updated fields on its own - within 10 seconds or so after the update.

If for some reason the events are not generated (it also could be the case that some other plugin throws an exception and stops the event distribution), then you can also use IssueEventBridge interface from the Structure API to report a change.

Hope this helps!
Igor

Thanks Igor.

It`s working with the IssueEventBridge interface. All issues are updated now.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Apr 30, 2018 in Marketplace Apps

Why moving to Confluence Data Center is only a job half-done

Confluence Data Center is a deployment option that was designed for performance at scale. In other words, Confluence will handle increased traffic much reliably in a clustered environment and yo...

233 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you