Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Structure Gantt fields in estimate attribute formula

Hi guys,

I'm trying to use the Structure Gantt fields in the Estimate attribute formula

 

with delta_days = DAYS_BETWEEN(DATE_ADD(GanttStartDate, duration, "days"), TODAY()):
with sum_from_today = delta_days>0 AND !DEFINED(ActEnd):
with ms = delta_days*8*60*60*1000:
IF(sum_from_today > 0; RemainingEstimate+ms; TimeSpent+RemainingEstimate)

but I'm getting this error: 

Invalid attribute specification, please ensure that correct 'id' and 'format' properties are specified.

If I try the same formula in a column structure, it works perfectly ( I have tried to just create a column in the structure, but after isn't usable as Estimate ). 

Any idea? 

PS: what I'm trying to do here is to have an estimate that is dynamic and, if a task end is estimated to be before today, it adds up the delta from today and the planned end.

 

Thanks,

Antonio

 

1 answer

Hello Antonio!

This is Alexey from ALM Works.

Just to clarify, "GanttStartDate" is a Gantt own attribute (like "Gantt Start" or "Gantt Finish")? If "yes", then it won't work, because in order to calculate estimate, Structure.Gantt needs to calculate the schedule itself, and in order to calculate the schedule, it should know the estimate. So we have a loop here. 

If you need to use Gantt own attributes here, please, use Structure Effectors (and sync values at least once to Jira) and then use resulting Custom Field in the formula. The idea is that formula should not depend on Gantt own attributes anyhow.

Hope it helps!

Best regards,

Alexey

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you