I try to develop replanning Gantt chart (prepared by Structure and Structure Gantt) with scriptrunner script. I chose custom listener with LexoRankChangeEvent to detect rank change and replan chart(change links “finish to start”). Event, when I write “event.something”, show error and point to class com.atlassian.greenhopper.service.lexorank.balance.LexoRankChangeEvent to check available methods and properties, but I can’t find API doc for this class. Where is it?
Another workaround will be detect issue update and check issue log. But I am not sure that it will be a good way
I looked into that class methods and I found that you cant get the issue itself, instead you can retrieve its id. Check the code below:
IssueManager issueManager = ComponentAccessor.getIssueManager()
MutableIssue issue = issueManager.getIssueObject(event.getIssueId())
Hope you find it usefull.
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events