I want to create a new issue when a sprint starts, but I want to check if we do not have an issue with the same name already (e.g. we have an ops ticket from the previous sprint coming along, then do not create it. If we do not, then create it after it starts).
However, I can't get the automation to stop complaining about the warning. It seems like the "if" does not know on what issues to run the JQL, even though I specified the related issues.
(I have not actually tried the automation yet, because we haven't started a new sprint yet.)
Any help would be greatly appreciated.
Hi @Sjoerd Hemels -- Welcome to the Atlassian Community!
With the sprint-related triggers, the issues in the sprint are not provided to the rule, and so...
For your scenario, you probably want to do the second one, checking with JQL that no issues exist that meet your criteria.
As a process note: adding these issues after the sprint start will show as a scope change, and so make it more difficult to quickly check for other scope changes in the sprint. Have you instead considered checking for this missing issue and adding it when the team conducts sprint planning?
Kind regards,
Bill
Hi @Sjoerd Hemels , welcome to the community.
Could you try adding a branch for issues in sprint first? See below for example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe the rule you show would try to match to each issue in the sprint, and so repeatedly add the new issue, rather than checking and adding it one time.
Did I misunderstand the original question or your solution approach? Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ugh! Yes indeed, how sloppy of me! 😣
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.