So I know that auto creating issue types with scriptrunner is pretty easy with the provided scripts, and im using the Clone an issue, create a link script, but it's not quite solving my problem. I have a post function on an epic that I want to auto create 3 stories WITHIN the epic on the transition, not just creating a link between the issues after auto create. Does that make sense? Any help would be great.
This can not be achieved by using the post function because it triggers on issue transition and your trigger is based on issue type and assignee which can only be done via Automation Rule.
if you want to do it via the post function then you have to add the specific transition for it and have to validate the assignee and issue type via validator so the transition can only be used as per your condition.
I have added the post function when the defect is assigned.
Any time this transition occurs, I would like the email to go to 3other people in the team besides the assignee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garden16_
Can I please ask, how did you manage to get the Send a custom email in Post Function?
I checked in my workflow, and I could not find it from the list of functions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garden16_ ,
Now you can trigger a custom event from which you can send email or you can use automation rule to send email, but for automation rule it must have to find on which transition you want to send so for that on this transition you have to update one more field so on that field basis you can send email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Garden16_ ,
Could you please share the steps to add a post function from ScriptRunner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
click on the transition and select post function and select the radio button for sending custom email. Click add and add the below for functionality
condition :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. We could have different instance of Jira. We are using Jira Service Management (JSM) Cloud instance. And I don't see any option for sending email under post function tab. This is what is available to me, there no option to send custom email...
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.