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

Is there a way in automation or workflow to set Activity start date when issue is moved 'InProgress"

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?

1 answer

1 accepted

2 votes
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 19, 2023

@Steve Josue 

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

https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?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://www.atlassian.com/software/jira/automation-template-library#/rule-list?systemLabelId=all&page=1&pageSize=20&sortKey=name&sortOrder=ASC

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

Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 19, 2023

@Steve Josue -

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

...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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events