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

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
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

441 views 8 26
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