Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,881
Community Members
 
Community Events
168
Community Groups

story point estimate is not found when sum story points of all subtasks with automation

Hi ,

i want to sum story points with automation in jira, and made this logic. 

Action details:

Issue condition

The following issues passed:
PORTAL-475

Edit issue

Additional fields contains invalid field(s) in 'update' or 'fields' section.
Story point estimate

i checked it, there is no "story point estimate" field for user story and task backend, but there is for web frontend.  but it's ok for subtaks. which field i should use?

how can i fix it ? many thanks

1 answer

0 votes
Stefan Salzl Community Leader Sep 07, 2022

Hi @Michael WANG 

for better understanding and further investigation: could you please explain what you are trying to solve with your automation rule from a use case perspective? What is your setting? when should the rule be triggered? which issues do you have in place? which story points from where would you like to sum and whaat for? what should they be used for?

Could you also share a screenshot of your current automation rule?

Best
Stefan

Hi @Stefan Salzl ,

what I want to do is to sum the story points of all subtasks automatically for one user story or task. and I created a new automation rule for it. and I activated the "story points" for estimation in the project setting=>feature.

I will attach the screenshot I have made in the automation rule.222.png

The issue comes in the 3rd step "Edit issue fields", I can't find the "Story point estimate" in the dropdown list. and so, the rule can't run well. 

 

looking forward to your solutions!

Is your project team-managed or company-managed?

Could you please also share a screenshot of the configuration of your "edit issue fields" action?

Best
Stefan

Guess I´ve got the problem already:

There is a different field for the estimation in team-managed and company-managed projects.

Within team-managed projects this field is called "Story point estimation". Unfortunately (as you already pointed out correctly) this cannot be chosen in the dropdown field so the advanced edit function via JSON needs to be used. I tried this in my environment and it worked (see the screenshot):

image.png

I´ll add this here as text so you can copy this directly:

{
"fields": {
"Story point estimate": {{issue.subtasks.Story point estimate.sum}}
}

 

Please give it a shot and let me know if it works.

Best
Stefan

@Stefan Salzl 

I am not sure whether is project team-managed or company-managed.  the admin create a project for me in the corporation environment. which one it should be? or where can check it?

 

333.png

 

you can see the "Story point estimate" is prodived by jira, can't be modified.

Stefan Salzl Community Leader Sep 07, 2022

Hi @Michael WANG 

Thanks for the information and the screenshot. As the screenshot looks like it´s a team-managed project. I already assumed this. Please find the description and solution in my last answer above ;)

Hi @Stefan Salzl 

i've tried, but it doesn't work for me. act log attached.

 

444.png

Stefan Salzl Community Leader Sep 07, 2022

@Michael WANG 

Could you please share a screenshot of your edit issue field action?

Best
Stefan

Stefan Salzl Community Leader Sep 07, 2022

Further question:
Which issue type is the issue "PORTAL-485" that should be edited in your audit log screenshot?

From your former screenshot of issue types settings I can see that there is a field "Story point estimate" in issue type "Story".

Best
Stefan

@Stefan Salzl  thx for your support.

 

  1. the edit issue field action screenshotScreen Shot 2022-09-07 at 20.21.53.png
  2. the issue type of "portal-485" is a subtask, you can see it in the screenshotScreen Shot 2022-09-07 at 20.23.37.png

 

I have no idea why it doesn't work for me. I need your help!

Stefan Salzl Community Leader Sep 07, 2022

Ok. Thanks for your input. The edit issue fields action looks different now to your initial post as it now only shows "advanced" option (formerly: Story Points).

 

Let´s do a live example for investigation. If possible please try to reproduce as follows:

  • create a story in your project
  • within the story create Subtask 1 and add "Story point estimate" = 5
  • within the story create Subtask 2 and add "Story point estimate" = 5
  • re-open Subtask 1 and change Story point estimate to 10 --> this should trigger your rule
  • please add the output of the audit log of this activation of your rule here

 

Best
Stefan

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events