I'm relatively new to configuring JIRA and having researched the forums, haven't quite sorted out where to do what I'm trying to do. Here are the two things that I need to accomplish:
I believe I know how to handle the change on the the Issue, however, detecting when the field on a Worklog is saved, seems to be the challenge.
I have these questions regarding Worklog.
First, what is the recommended practice for this? Workflow post-function or Scriptrunner Listener?
Second, would you have sample code? I've found the Worklog manager that seems to be the correct object, but I'm struggling to understand how to access just the current Worklog that is being saved/created.
Updated title. Also, one clarification, I'm aware of the Issue Worklog Updated Event. I would use that but we only want emails when the Remaining Estimate is changed and don't want emails when other fields on the Worklog are changed.
We use Tempo with Jira 7.3.x server/standalone.
I would use a listener.
Regarding your clarification, you would use the Issue Worklog Updated Event. You can examine everything within the event, which will include the remaining Estimate change.
I believe this question will help you.
We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...
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!
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