Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I need to capture the date automatically

Hi Team,

I have sprint board and when i am trying it to move one from "TO-Do" to "INPROGRESS" so there I need to capture the date automatically and from "INPROGRESS" to "UAT" so there I need to add a date field and it should be capture  by the automatically when it was moved from one to another. 

Please help me to achieve this.

Thanks and Regards,

Uday. 

4 answers

0 votes
Ravi Sagar Community Leader Jun 13, 2021

Hi @uday 

This date is there in the Issue change history which you can fetch for your analysis. This would be my preferred way. You can also populate a custom field with this date using a post function. In both the cases you would need an app like ScriptRunner for Jira.

Do you want to give some background on how that date field will be used?

Ravi

Hi Ravi,

 Thanks for you help.

in workflows we can change it right. so we have an script runner as well. so please can you help me with the code and help me how to do it in sprint boards. the ways we can do.

Thanks in advance.

Regards,

Uday.

0 votes
Olga Videc Community Leader Jun 14, 2021

Hello @uday 

You can also try automation

Trigger when the issue is transitioned edit desired custom time field and use the smart value {{now}} you can combine it with desired format like jqlDateTime {{now.jqlDateTime}}

Documentation

https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/

BR, Olga

Hi @uday  ,

As an alternative, you can try Status Time Free app. It displays how much time passed in each status as well as status entry dates and status transition count on each issue detail page.

0 votes

Hello @uday,

You can do this with custom fields and automation rules (or workflow functions) but this solution will become harder and harder to maintain as the number of fields and statuses grows. And also, the dates you are looking for are already available in each issue's history. It is just hard to get them as a report.

 

Our team at OBSS built Time in Status app for this exact need. It is available for Jira Server, Cloud, and Data Center.

Time in Status mainly allows you to see how much time each issue spent on each status or assigned to each assignee. The app also has 4 types of "date reports" that show you the First/Last transition date from/to each status.

tisCloud_FirstTransitionToStatusDate_Report.png

The app calculates its reports using already existing Jira issue histories so when you install the app, you don't need to add anything to your issue workflows and you can get reports on your past issues as well.

Using Time in Status you can:

  • See how much time each issue spent on each status, assignee, user group and also see dates of status transitions.
  • Calculate averages and sums of those durations grouped by issue fields you select. (For example, see average InProgress time per project and per issue type.)
  • Export your data as XLS, XLSX, or CSV.
  • Access data via REST API. (for integrations)
  • Visualize data with various chart types.
  • See Time in Status reports on Jira Dashboard gadgets (released for cloud, server&DC gadget coming soon)

https://marketplace.atlassian.com/1211756

EmreT

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you