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

Accepted Answer
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
Community showcase
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

127 views 3 4
Join discussion

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