Notification email does not contain values changed by postfunctions

Hi everybody!

Here is my trouble:

  • A user make a transition 
  • postfunction changes assignee
  • new assigenee receives an notification email

Trouble: this email does not contain information that assignee was changed.

Why do we need this: we use user name into Outlook rules to filter email, which requared immidiate action. Now some emails about asignee changes does not mach this filter.

1 answer

1 accepted

Where is the "postfunction changes assignee" in the list of post functions? It should be before "Update change history for an issue and store the issue in the database." Is it the case?

This postfunction provided via Script Runner. I think this question is for adaptqavist.

Well the order of the postfunctions can be set by the admin who configures the workflow.

So you can move the functions up and down. 

Tibor already said what Adapatavist would have said!  It's not really a scriptrunner question though - if you'd got another function to change assignee, we'd start at the same point - where is the function in the list?

This is first function in the list. Where shell I place it to get update information into email?

I have found the solution:

If into post function I use IssueManager.updateIssue() and set last param as false - there will not be any notification. 

I I just set some value via MutableIssue methods all changes will be into email us requred.

It seems this is about JUP: https://jamieechlin.atlassian.net/browse/JUP-10 - do you have a workaround?

We can create custom postfunction via ScriptRunner.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

62 views 0 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you