Forums

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

Add Current Date in specific field when an Issue changes to other Status

Jorge de Carlos October 19, 2022

Hello folks,

In order to be able to know how long time an Issue still in each status, I would like to add the date automatically (in an existing field) when the Issue changes the Status (during transsition).

---------------------

Example: 

Today (19-10-2022) the status of the issue changes from In "Progress" to "Testing":

I need to have a field (completed automatically) as : FirstDateInTesting: 19-10-2022

---------------------

Could you please let me a hand?

Thanks a lot in advance,

Jorge

1 answer

2 votes
John Funk
Community Champion
October 19, 2022

Hi Jorge - Welcome to the Atlassian Community!

You can do this with an add-on like Automation for Jira or ScriptRunner which will also help calculate the time. 

But you could also populate the date with a Post Function on the transition to set the custom date field value to now()

Jorge de Carlos October 19, 2022

Thanks a lot for your answer, @John Funk

Unfortunatelly I am not able to edit Post Functions of the transition. May be because I am not logged as Administrator?

notabletoedit.png

Best regards,

Jorge

John Funk
Community Champion
October 19, 2022

Go to Settings > Issues > Workflows and search for the workflow there. Then do a an edit. It might just be how you are coming into the workflow. 

Suggest an answer

Log in or Sign up to answer