Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I reset the Target Start and Target Date with automation (remove the dates)

Leyla Kinaze
Contributor
August 23, 2024

Hi, 

I have created an automation to set the Target start and Target end date when the sprint is set in a story.  This is working.

But I want to be able to remove the dates when a sprint is removed from a story.

I tried this, but I'm not sure if this is ok to use (and I'm getting an error).

{ "fields": { "Target end": "{{clear}}" } }

 

Any idea what I should be using if this is not the right command?

 

Thank you

2 answers

2 accepted

3 votes
Answer accepted
Duc Thang TRAN
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2024

Hello @Leyla Kinaze 

You can try this json 

{
"fields": {
"Target start": null,
"Target end": null
}
}

 

Leyla Kinaze
Contributor
August 23, 2024

Yeap - thank you - that’s working

Like • Marc - Devoteam likes this
1 vote
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2024

Hi @Leyla Kinaze 

Use the following JSON, replace the CF id with the ID of the Target start field.

{
"fields": {
"customfield_12100": null
}
}

 

Leyla Kinaze
Contributor
August 23, 2024

Thank you null did the trick.  

{
"fields": {
"Target end": null

}
}

Like • Marc - Devoteam likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events