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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Create calculated custom field to track time in a particular status

I want to create a custom field "Time in Status" which should have the value of how long an issue has been in a particular status.

e.g. : Time in To Do - This custom field should track how long the corresponding Jira issue was in "To Do status"

How can this be achieved in Jira Cloud? In Server/ DC, this was possible by using "Jira Misc Custom Fields (JMCF)"

 

5 answers

Are you asking how to create a custom field, or how to create a custom field specifically for time data, or how to calculate and store the data in that field?

If you are asking about creating a Duration custom field, that does not seem to be supported for JIRA Cloud, but there are issues in the backlog for it.

https://jira.atlassian.com/browse/JRACLOUD-67720

https://jira.atlassian.com/browse/JSWCLOUD-15988

It appears that this app might provide the functionality:

https://marketplace.atlassian.com/apps/5139/enhancer-plugin-for-jira?hosting=cloud&tab=overview

...according to their documentation:

https://confluence.snapbytes.com/enhancer-plugin/custom-fields/duration-custom-fields

Hi @Deepanshu Natani 

There are lots of marketplace add-on products to do this measurement.

If you do not want to purchase them, you could add a custom field (or a few for different status values or categories) and use a couple of Automation for Jira rules to maintain the value(s):

  • One rule to start the clock on a transition
  • One scheduled rule (based upon your frequency of need) to update a time counter, from start date/time to {{now}}

Best regards,

Bill

Hi @Deepanshu Natani ,

You can try Status Time app. It provides reports on how much time passed in each status as well as status entry dates and status transition count.

Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "In Progress" time of an issue opened on Friday at 5 PM and closed on Monday at 9 AM, will be a few hours rather than 3 days. It has various other reports like assignee time, status entry dates, average/sum reports(eg. average in progress time per project). And all these are available as gadgets on the dashboard.

Here is the online demo link, you can see it in action and try.

If you are looking for a free solution, you can try the limited version Status Time Free. Hope it helps.

Please note that I'm one of the members of the Bloompeak team.

Hello @Deepanshu Natani ,

If you are interested in a ready built solution, 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 does not introduce a custom field or a custom field type to your system but it can display its output in its own reporting page, Jira dashboard gadgets and in a new tab on issue view pages.

Time in Status allows you to see how much time each issue spent on each status or assigned to each assignee. You can combine statuses into consolidated columns to see metrics like Resolution Time, Cycle Time or Lead Time. You can calculate averages and sums of status (or consolidated status) durations grouped by issue fields you select. (For example see the average InProgress time per project or average resolution time per issuetype and assignee.)

  tisCloud_StatusDuration_Report.png  tisCloud_IssueView_Data.png  Gadget_AverageStatusDurationByComponent.png

Gadget_AverageStatusCountByComponent_Chart.png  tisCloud_IssueView_Chart_StackedColumn.png

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

The app has custom calendar support so you can get your reports based on a 24/7 calendar or your custom business calendar. (This one is important because a 24/7 calendar in most cases shows misleading data. For example an issue created at 16:00 on Friday and was resolved at 09:00 on next Monday seems to stay open for 2,5 days but in terms of business hours, it is only a few hours. You can see this using Time in Status by OBSS.)

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 issuetype.)
  • Export your data as XLS, XLSX or CSV.
  • Access data via REST API.
  • See Time in Status data and charts on issue view screen and Jira dashboards.

https://marketplace.atlassian.com/1211756

EmreT

Hello @Deepanshu Natani 

You can try a third-party add-on developed by my team - Time in Status for Jira Cloud.

It generates 7 types of reports based on statuses.

7typesofreportt_tis.png

Time in Status report shows you how long each issue has been spent in each status. You just need to choose the date ranges you need and get a report of all issues and how much time has been spent to solve them.

Extract a report as XLSX or CSV files for further analyzing Excel or Google Spreadsheets.

I hope, you find it helpful.

Best regards, Mariana

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

106 views 0 2
Read article

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