Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Where/how to detect a specific change in a Worklog Edited

Hi, 

  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:

  1. When the Remaining Estimate on a Worklog is increased, send an email. 
  2. When the Remaining Estimate on an Issue is changed, send an email.

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.

Edit:

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. 

 Edit 2:

We use Tempo with Jira 7.3.x server/standalone.

1 answer

1 accepted

Hi Chris.

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.

Cheers

Dyelamos!

Hi Daniel,

  Thank you for your insight.  I've not had time to get to this yet but believe what you've suggested will work.  Accepting your answer!

Thank you!

Chris

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

76 views 0 4
Read article

Community Events

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

Events near you