You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
In JIRA Data Center 9.1.0 is there a way in Automation or Workflow that when a ticket gets moved to a particular workflow state, that we can set a custom date field, 'activity start date' to the current system date?
Hi Steve:
You have two options to accomplish this, please take a look below -
Option 1 - Customize your WF by adding a post function call to update the custom date field based on your criteria. You may need additional paid add-ons for this type of WF customization which one can implement with little or no coding required
https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview
Option 2 - Create automation rule via Automation for Jira (this comes with your JSM subscription out of the box). Where the rule can be triggered off by "Issue Transitioned" event + create condition (your criteria) and then conduct an Edit Issue action. Here are the links for automation rules setup for your reference -
https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/ (This gives you the ability to reference issue's data for further customizations)
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Thank you Joseph! so I have the rule built using your option 2. I have the transition step in place and want to set the current date to the "Activity Start Date' which I have up now, but it wants me to use the date picker? How can I simply set it to "current date?
Thank you!
-Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using smart value, you can use the following to reference current date -
Referencing the current date/time
You can reference the current date and time using {{now}}.
Here is additional reference on using Smart Value in your automation rule setup -
https://support.atlassian.com/cloud-automation/docs/examples-of-using-smart-values-with-dates/
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...And it works perfectly!!!!
thank you so much for helping solve this and also for the wealth of information you provided for me!!
Best,
Steve Josue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.