You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am doing some rules the idea si the following:
When an issue is created it should make the following checks:
1.If the type is BUG
2.If there are linked issues to it
3.If any of the linked issues are part of the current sprint.
In that case if all 3 match , it should set the Sprint of the bug to the current sprint. I am receiving an error though , any help ?
Adding to the other answers provided...
The Issue Created trigger can happen so quickly that the data is not yet ready for other things, such as conditions and actions, leading to unpredictable results and rule errors.
When using the Issue Created trigger, it is a good idea to immediately follow that with the Re-fetch Issue action before performing any other steps. This will slow down the rule by reloading the data, helping to confirm steps work as expected.
Kind regards,
Bill
Try to put this JQL condition for the Sprint restriction, instead of "Issues in the sprint present"
sprint in openSprints()
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.
Hello @Georgi Nikolov
Can you provide a screen image of the details of the condition (IF: all match)?
I suspect that the problem is the third element of that condition but I would like to see the details.
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.
The condition:
Related issues: Issues in current sprint: present
...is trying to confirm that there are other issues in the same sprint as the trigger issue. Since the trigger issue is not currently in a sprint, this produces an error. It also doesn't match the condition that you said you wanted which is
If any of the linked issues are part of the current sprint.
In that statement what are you referring to when you say "current sprint"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to do it with Linked issues present and "
sprint in openSprints()
" as stated in the previous comment. Thank you all!! :)
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.