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.
I want to compare two date fields (one custom and one delivered) and have the result in a separate field.
Example:
End date (WBSGantt) minus Due Date and the custom field would be the number of days between.
Is this possible?
You can probaby tweak https://library.adaptavist.com/entity/calculate-the-working-days-between-two-dates a little bit to get it out.
Personally, I'd do it as a "scripted field"
forgive me, I've never done a scripted field, but is what you're saying different from the script Ravi and you mentioned? Don't I create the 'answer' as a custom scripted field and then attach the script or are there multiple ways we're talking about?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nothing to forgive, it's a perfectly good follow up question, especially as I've made a mistake!
The script we've pointed at is indeed for a scripted field. I only glanced at the top bit of it to confirm it was code you might find useful, and assumed it was a post-function that set another field. It's not, you should indeed paste it into a scripted field definition.
Note that when you create the scripted field, you probably want to set its "searcher" to "number range" and then when you're putting the script in, set the "template" to "number"
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.