Forums

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

How to capture the workflow transition date to date field called Actual date.

kedar
Contributor
September 11, 2023

Hi Team,

Any possibilities of  capturing the Issue(To do) transition date to date field called ' Actual date' .

 

Thanks,

Kedar p

2 answers

0 votes
Reshma Begum {Appfire}
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.
September 12, 2023

Hi @kedar ,

Use the JMWE's Set issue fields and add the below script to set the Actual Date field

issue.getFieldHistory("status").last().created

 This script will capture the transition date of the current transition that is being performed.

Thanks,

Reshma

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 11, 2023

Hi @kedar 

Yes it is possible. You might need a 3rd party app (like JMWE, JWT, JSU or similar) to do that on server, or automation for jira. Do you have any of these?

kedar
Contributor
September 11, 2023

Yes I'm having JMWE and Automation Jira in jira cloud

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 12, 2023

@kedar excellent! So:

  • Go to project settings > Workflows
  • Edit your workflow transition you want by clicking the pencil icon
  • Scroll up and click on "diagram" and then click the desirable transition
  • Click "Post functions" on the pop up which will appear
    click post functions.png
  • "Add post function" > "Set issue fields (JMWE app)" > Add
  • Choose your field, and enter on the code snippet {{now}} > Add
    add field.png
  • Click "Add"
  • Click publish on the transition

Try it out and let me know if that works!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events