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.
We have a global automation in two projects. The automation should simply sum up the story points of the subtasks of a story. In one board the sum up works as expected, in another board the same rule doesn't work. In the audit protocol Jira says "condition not passed", so the subtask isn't recognized as a subtask and therefore the automation stops. Is this a bug or how can we solve the problem?
The automation in the first step is checking if the changed value is a story point, then it checks if the transaction type is a subtask, if yes the it changes the value of the parent.
Hi Enrico and welcome to the community,
Most likely this is not a bug. You have to cross check your rule and see if on the condition the same issue type are being checked. E.g. "Subtask" is different that "Sub-task". Is you can, paste your rule/condition here, as well as the issue type scheme of both projects.
In the not working board the issue type is a Sub-Task and the automation is checking for a Sub-Task, so I can see no problems here.
In the working board the issue type is also named Sub-Task.
Because its a global rule the same issue type is being checked intrinsically.
Here is the automation scheme
The code of the rule is
{
"fields": {
"Story point estimate": {{issue.subtasks.Story point estimate.sum}}
}
}
This is the issue type scheme of the non working project:
And this of the working project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you working on team managed project?
Is the estimation feature enabled on the 2nd project? And is the story point estimate field placed on the subtask issue type?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Sub-Task does have the story point estimate field
and the estimation feature is enabled and set tostory points:
But what is a team managed project and where can I find this information? I have admin rights on the project, if that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you open the project, look on the lower left corner.
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.
@enrico I think I found the problem. You should edit your rule's condition and you should place a smart value to compare against your issue type's id. E.g:
You should be able to locate the subtask's ID from the project settings:
Make sure that the id is the same for both projects. If not, then you have to include the second value as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You were right! I have two different IDs for the subtasks. Now I have included both IDs and now it works on both projects. Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to know that @enrico! Very glad for us to have found the source of the problem and fixed it!
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.