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

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
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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

146 views 0 4
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