Hi,
We have a multi-user custom field that notifies user(s) in that field on the Create transition using a post function. However, there is now a need to notify new user(s) added (and only those added) to that field AFTER the issue has been created and without a transition. I've done some digging and it doesn't appear there is out-of-the-box Jira funtionality to do that but there may be an add-on or two that could. Does anyone have any experience with this and could advise?
Thanks,
Michael J
"without a transition" strongly implies an "edit" and hence an "issue updated" event going out to tell us it's been updated.
Whilst events contain a list of all changes made, there's no code in the notifications to say "detect change of type X and send mail on that one change". The issue has changed, that's all it can catch (otherwise you'd need to have events going out for every possible field change!)
What you'll need to do is find or write a listener that can catch "update", detect the change(s) you are interested in, and fire an email off itself. In this case, the code also needs to refine the user list down to "those added in this change"
I'd reach for the script-runner to do this as usual.
Hi Nic,
Your assumption about "edit" is correct, it's definitely an edit to the custom field.
We're licensed for Scriptrunner but if I understand you, I'd still need to write or find some code to make this work. Is that correct?
If so, then I'm kinda dead in the water as I'm not a coder. Was looking for a plug-n-play solution. The add-on 'Email This Issue' aka JETI looks like a possibility.
Thank you,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use ScriptRunner to do this. I have used it to do calculations whenever a field is edited in the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.