I'm looking to create an automation that updates the target start and end dates based on the release fix version. I've found a way to do this for Start Date and Due Date, but for Target Start -- there is not a solution that I see works. What I'm using now is the following
{
"update": {
"Target Start": [
{
"set": {{issue.fixVersions.releaseDate.min}}
}
]
}
}
Hello @Brian Gauthier
You were missing quotes, please try below:
{
"update": {
"Target Start": [
{
"set": "{{issue.fixVersions.releaseDate.min}}"
}
]
}
}
Also just FYI, When trying to do update with set, you can directly use fields attributes instead.
So below is the shortcut version for the same and should do the same.
{
"fields": {
"Target Start": "{{issue.fixVersions.releaseDate.min}}"
}
}
Great - That worked. In a separate project - I'm also trying to update a target state based on the start date. The error I get is that its in a incorrect format. Here's the automation code I'm using and is not working.
{
"fields": {
"Target Start": "{{issue.StartDate.jiraDate}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check that the field is spelled correctly. Is there a space between Start & Date? Also, I dont think you need the .jiraDate modifier. Please try below and share the audit log of the error if it happens.
{
"fields": {
"Target Start": "{{issue.Start Date}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.