Bug workflow create transition post functions
Addition Issue actions for step 2 above
import com.atlassian.jira.issue.Issue Issue issue = issue String issueKey = sourceIssue.getKey() issue.summary = "SLA | " + issueKey
We have our Bug workflow auto-creating a "Team SLA" sub-task upon creation of the Bug. It uses the built in "Create Sub-Task" post function supplied by the Script Runner plugin. The Bug workflow is configured to fire a 'Create Issue' event. The "Team SLA" workflow is configured to fire a 'Generic Event' for the 'Create' transition in its workflow.
We receive 2 e-mail notifications. Once for the create of the 'Bug' which is as expected. But we receive a 2nd notification for the "Team SLA" from saying it was 'Assigned' eventhough there is no apparent assign event going on.
How can I stop it from generating the e-mail for the sub-task? Is the create subtask built in script firing the 'Assign' event internally?
Okay, I think I understand now.
I believe that when you create a subtask it fires an 'Assign' event to assign it to your parent issue.
You probably need to set up something in your notification scheme that would ignore that 'Assign' event, if you don't have it already.
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...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG