Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set Custom Field value from Scripted Field to use it in Advanced Roadmap

Simone Rastelli September 8, 2021

Case:
I create a Plan with a list of Epics
for each Epic I want to show the sum of the "Original Estimate" values from issues in the Epic itself

Solution applied:

Using Adaptavist Scriptrunner

I defined:

1. a Scripted Field where sum is calculated (working)

2. a Number custom field ("Total Original Estimate") where value from 1. is copied

In the Plan I pick the custom field ("Total Original Estimate").

Not Expected Outcomes:

Epic issue: updating Originale Estimate in an issue does not update immediately the custom field ("Total Original Estimate").

Plan: custom field ("Total Original Estimate") value does not update along with the value from the Epic issue. It looks I need to reindex the project the Epic issues belongs to.

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
September 8, 2021

Hi @Simone Rastelli

A similar question was asked and answered in this community discussion

It's not 100% exact by very close to your requirement.

I hope this helps to answer your question. :)

Thank you and Kind Regards,

Ram

Simone Rastelli September 8, 2021

HI @Ram Kumar Aravindakshan _Adaptavist_ , thanks for your suggestion, but that thread is focused on implementing the Scripted Field: that was not a problem in my case.

I successfully implemented the scripted fields and copied its value to a custom field (at least cheking with log comes out the custom field is actually synched)
Main point in my case is that as I show the custom field within a Plan, it does not update values. I have to reindex to sync values.

Ram Kumar Aravindakshan _Adaptavist_
Community Champion
September 9, 2021

Hi @Simone Rastelli

Thank you for getting back.

I will try to test this on my side and get back to you.

Regards,

Ram

Suggest an answer

Log in or Sign up to answer