Force update a SIL Custom field

I have a SIL Custom field which aggregates a number values from a set of linked issue. This field works fine for me, but it seems that its value is updated only when the Issue is opened. I want this field to be updated dynamically so that I have the latest value in it and can have a proper search working on this field.

Is it possible to force update this using some SIL listener? For example, I know this field's value changes when an issue linked to it changes. So can I trigger an event on lets say an Update Event on the linked issue, which updates this field?

1 answer

1 accepted

This widget could not be displayed.

Yes, that may work. You can use a listener that will trigger the Updated event for the linked issues when one issue is updated using http://confluence.kepler-rominfo.com/display/SIL/raiseEvent. However, depending on your notification scheme, this may also send an email which you may or may not want. Additionally, if you're not careful with this, it can end up with an infinite loop. You could also consired using http://confluence.kepler-rominfo.com/display/SIL/admReindexIssuefor the linked issue instead of triggering the Updated event.

HTH

admReindexIssue worked. Thanks!

Yeah, IIRC that's the exactly why that routine was created.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

513 views 3 18
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