Automation rule is failing for Story Point estimate is locked

Rajkumar Dalwai November 28, 2023

Settings-Jira-1111.png

2 answers

1 accepted

0 votes
Answer accepted
Antuan Sammak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2023

hi @Rajkumar Dalwai 

 

can you please share a screenshot of the error you are getting from automation rule log.

Rajkumar Dalwai November 28, 2023

The story Point estimate field is showing a locked 

story point estimate.png

Automation-Jira-failure.png

Antuan Sammak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2023

so as Bill mentioned earlier, Company-managed projects use the "Story points" field and team-managed use the "Story point estimate" field...is your project that you are trying to implement the automation inside is company or team managed?

 

can you try to open the screen of any of these tickets you are trying to update and see if Story point estimate is showing....most probably its not and you wont be able to add due to the above reason.

 

further more, seeing Locked next to the field that only means that its a predefined field by Jira and you can play around with its config, its a field for team managed project and that will be available for all relevant type of projects and you can change its config or details.

Rajkumar Dalwai November 29, 2023

We are using Team managed Project

Rajkumar Dalwai November 29, 2023

I am not able to find ' Story Point estimate ' field here to set the rule

Screenshot_3.jpg

Antuan Sammak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2023

@Rajkumar Dalwai  kindly refer to this post https://community.atlassian.com/t5/Jira-Software-questions/Setting-Story-Point-with-JIRA-automation/qaq-p/1927493

 

for this field you need to use Additional fields box instead of selecting it from dropdown

 

{

"fields": {

"Story point estimate": 1

}

}

Rajkumar Dalwai November 29, 2023

I want my parent story point estimate to have sum of the subtasks it has & not 1

e.g : Subtask -1 - 10
        Subtask -1 - 15

Expected Story point estimate of parent = 25


Screenshot_4.jpg


Antuan Sammak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2023

@Rajkumar Dalwai 

you would need to trigger the sum up in the automation, this post discusses similar topic https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-you-automatically-sum-the-story-points-of-all-subtasks/qaq-p/863364

 

possible solutions:

{
"fields": {
"Story point estimate": {{#=}} {{subtasks.Story point estimate.join(" + ") }} {{/}}
}
}

 

or

 

{
"fields": {
"Story point estimate": {{#=}} {{#subtasks}} {{Story point estimate}} + {{/}} 0 {{/}}
}
}

 

 or

using this https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/ you can find custom field ID then use the below

 

{
"fields": {
"customfield_10016": {{#=}}{{subtasks.customfield_10016.join(" + ")}}{{/}}

}
}
Rajkumar Dalwai November 29, 2023

@Antuan Sammak  Thank you very much for your solutions

{
"fields": {
"Story point estimate": {{#=}} {{subtasks.Story point estimate.join(" + ") }} {{/}}
}
}


This one worked for me 

@Bill Sheboy  thank you also for quick replies.....

Antuan Sammak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2023

@Rajkumar Dalwai  glad to hear that you got it working, would you mind please to mark the answer/thread as accepted for better visibility to the rest of the community.

Thank you.

Rajkumar Dalwai November 29, 2023

sure , did it

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2023

Hi @Rajkumar Dalwai 

What type of project are you using: company-managed or team-managed?  You may find that information at the bottom-left side of the page's expanding area.

Company-managed projects use the "Story points" field and team-managed use the "Story point estimate" field.

Kind regards,
Bill

Rajkumar Dalwai November 29, 2023

We are using Team managed Project

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events