Hallo Community,
is it possible to send an email for each component name change?
not on the ticket/issue than in the project settings.
may be limited to issuetyp or category.
Do anyone have any idea?
best regards
Jurica Petricevic
No, Jira doesn't track component renames beyond a line in the audit log, so there's nothing that would be able to trigger an email (no "event" is fired)
@Nic Brough -Adaptavist- I found it in a ScriptRunner: Listeners -> ProjectComponentUpdatedEvent that sends emails on Component Name Change but i really don't know how to configure email
i need an email telling me what the project is about, what component it was and what it’s called now.
Do we have some ScriptRunner experts here?
Best regards
Jurica Petricevic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, excellent, I didn't know we'd implemented the events in there (there's 500 of us now, I can't keep up with everything every team is doing!)
It looks to me like you've got everything set up right in there for sending email (that's common to all events, so not new!). Mail templates look fine to me, and leaving the condition/configuration blank should mean "send mail on every component update"
You may want to add a condition to drop the emails on component add/remove, but if you're interested in renames, I suspect you're also interested in create/delete, so I'm guessing you wouldn't need it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know how to do it here, can you help me?
What exactly to write in the condition and what in the template coz this here brings only errors. Isnt working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, what are the errors? We should be able to leave the conditions blank for "tell me about everything"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will add a few pictures that better explain the problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got some response from ScriptRunner Support:
//Get Component Nameevent.getProjectComponent().getName() //Get Old Component Nameevent.getOldProjectComponent().getName()
this still doesn’t solve my question of what it is to write into Condition and what into Email template.
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.