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!
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}}\"}"
}]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.