Hello,
I want to automate the creation of Jira issues. If CR issues will appear in a certain JQL search, other issues for testing should be created in a different project. I want that every day it will be checked if new CRs issues are here, which do not have test issues linked to them.
I made my first draft for the automation rule and I have questions for that.
Screenshots are attached for better understanding.
Thank you for your help.
Hello @Radl Glück
1. When you use a Scheduled trigger to get a list of issues using JQL, the remaining steps in the rule will be applied to each issue found by that JQL.
2. If you want to copy data from the issue found in the trigger's JQL to the issues you are creating, I recommend you use {{triggerIssue}} instead of {{issue}}.
3. This is more difficult to answer without having more details about the JQL statements you are using and where you are creating the issues. Can you substitute in place holders like "Project A" and "Project B" where you have redacted data?
I am not 100% sure but I think that the JQL in the trigger runs once at the beginning to get the initial list of issues. If you create more issues during the rule that would match the JQL in the trigger, that should not change the initial results of the trigger JQL. If the trigger JQL returned 5 issues, then the actions in your rule should be executed for only those 5 issues.
Hi @Radl Glück
Regarding your questions:
ad 1: it will execute for each of the found issues, each triggering one creation of a ticket
ad 2: you can always refer to these fields of the initial issue as triggerissue.key and triggerissue.summary
ad 3: The linked issue field will be filled with the key of the created issue in the alternate project (abc-123).
When I come to think of the goal of your automation, and what it replaces, I cannot escape the thought that it might be better to build the transfer of work to team B into the workflow of the first team (A) by providing a status (with transfer) to it.
This way, it is possible for both teams to work more tightly together, increasing throughput and quality by mutual understanding and acknowledgement of the preceding and following work respectively. These are in my honest opinion the most valuable benefits that always should be taken into consideration before creating an automation.
Kind regards,
Dick
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.