Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,555,235
Community Members
 
Community Events
184
Community Groups

Set project target interval

obennani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 10, 2023

Hi! I'm trying to set the project target (the Project Target field) intervals using automation but I'm hitting a bit of a snag. It's a custom field that's looks like it's defined as a string but obviously takes a start and end date. Can anyone provide an example or tips on how to set the value properly? 

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
obennani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2023

Figured it out for my self! So here's what you need to do. Must be an advanced update. In our instance it's customfield10275. It must be a string and you need to match the structure. You also need to match the expected dates. For instance, i tried doing a custom start/end interval. That's no bueno, it won't take it. If you want to assign a start/end as i do below for quarters, you need to align the dates to be the exact same and the it'll take it.

{
"update":{
"customfield_10275": [{
"set": "{\"start\":\"{{now.StartOfMonth.withMonth(1).jiraDate}}\",\"end\":\"{{now.withMonth(3).endOfMonth.jiraDate}}\"}"
}]
}
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events