Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

LexoRankChangeEvent scriptrunner

Edited

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 wayB653436D-6F32-4829-A98F-D4E79B083F61.png

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted

Hi @Alexander Raymukanov 

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. 

Hi @aleksnako .

thanks for information.

can you point me on class documentation? 

Regards,

Alexander

TAGS
AUG Leaders

Atlassian Community Events