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

Automation Rule to restrict overriding of date value in a custom field.

Edited
Sujitha_Krishnan
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!
Apr 26, 2023

Hey Team,

 

We have added a customer field named "Inprogressdate" to capture the date and time when an item is transitioned to "In progress" status.

 

The date is populated from Blank -> date, time when an item is transitioned first time to "In progress" status. For instance, when this item has transitioned all the way through "ready for PO" and then due to some reason gets back to "In progress" status, the field "InProgressDate" gets overridden and captures this date. 

 

I am looking for an automation rule that can either stop this override or can help to restore the initial value.

 

I followed the steps from this previously answered question, but it failed in my case since the custom field is not a string.

https://community.atlassian.com/t5/Jira-Software-questions/applying-fieldChange-from-on-multi-value-field-in-automation/qaq-p/1648774

 

Automation Rule 1.pngAutomation rule 2.png

 

Is there a similar rule that can be used for a "Date Time Picker" type custom field? Any lead would be of great help. Thanks.

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 26, 2023

Hi Sujitha - Welcome to the Atlassian Community!

Here is what I would do for the rule. Use the trigger for Issue Transitioned to In Progress - but why are you checking all of the statuses it is coming from? Why not simplify the code to just say it transitions to In Progress. 

Next, change your Condition to say = Empty. This means the field does not have a value therefore, update the field. Otherwise it will not update the field and override the value that is already there.

Finally, just use {{now}} for the update of the field. You don't need any Advance code. Just put {{now}} in the box for the field. 

Sujitha_Krishnan
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!
Apr 26, 2023

Thanks John for the quick response.

I got it working! Thankyou so much!😊

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 26, 2023

Great! Glad you got it working.

Like Sujitha_Krishnan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events