Project Automation rule is not running when an issue is created
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
Project Automation rule is not running when an issue is created, however, it is running properly for other events.
診断
For the same Project area, other rules are running fine;
The rule is not triggered independently of the new action executed (add comment, create sub-task, send notification);
The rule runs if the trigger is changed, for instance, to "field value changed";
The rule is triggered for other Project Areas, using different Workflows;
The rule is not triggered for Project Areas using the same Workflow.
原因
The workflow used by the issue type does not have the "Fire a Issue Created event that can be processed by the listeners." event at the Post-functions for the new transition.
ソリューション
- Edit the workflow;
- Click at the new transition to show the menu options;
- Select Post-Function;
- Add a new event and select "Fire an Event" and the "Issue Created" option.