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

0 votes
Accepted answer

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 Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,429 views 0 8
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