Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Force update a SIL Custom field

salman_kagzi
Contributor
June 10, 2014

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
Answer accepted
Florin Manaila
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2014

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

salman_kagzi
Contributor
June 11, 2014

admReindexIssue worked. Thanks!

Florin Manaila
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Apps & Integrations Events