Using Task Progress Indicator Highcharts in the dashboard. Output is not proper. Refer the below image
I don't know the output which i got is correct or not.
Database entries:
Project Name -> P-2020-0009
Task Name -> Feature 1.1.2 (6 days)
Sub Task list:
Business Logic ->3days
Dashboards -> 3 days
Database Objects
Form
Functional Extensions
Process Flow
Reports
Settings ->8 days
User Interface -> 3 days
Worklist
Total subtask days: 17 days
Subtask calculations:
17/6*100 =283.33
But in Highcharts series.data:
completed property directly set a decimal value between 0 and 1.
I don't know how to show my overall sub-task under the Task with the progress indicator.
or
I don't know how to show each sub-task under the Task with the progress indicator.
Related
I am taking my first steps in Jira automations and I had the following query:
Can I define actions to be executed at a specific time of a day of the week?
I have created the following rule, which I would like for example to be executed on Saturdays. Is it possible to define range of hours and dates?
Thank you very much![enter image description here][1]
JQL: updated >= startOfDay(8h) AND updated <= startOfDay(11h)
How to create a JQL filter to list all tickets created between 8 AM to 4 PM irrespective of created day and date?
I know startOfDay() deal with only for current day. For example , below will list all ticket created of 'myproject' between 8 AM and 4 PM of current day (as per timezone set in my user profile)
created > startOfDay("+8h") and created < startOfDay("+16h") and projecy='myproject'
My requirement is list a ticket created any day (not only current day) in my work shift 8 AM to 4 PM.
Your requirement can not be fulfilled with simple JQL queries. You could query the database directly with some SQL or you can use some scripting with a plugin (check out this post for example).
Other possibilities are to use the JIRA API to receive the ticket data and then filter the tickets which were created in the desired time frame.
Another possibility to at least get the relevant tickets from the current week with a JQL query could be to create a filter like this: created > startOfWeek(7h) AND created <= startOfWeek(17h) OR created > startOfWeek(31h) AND created <= startOfWeek(41h)... (Source)
We're using the following rule to mark work items that delay 2 days or more:
Changed Date <= #Today - 2
Work Item Type = Task
State = In Progress
(Then, color the task in red)
The problem is that when a task gets started on Friday, on Monday it will be red, even though only one working day has passed.
Is there a way around this?
This is not available to do this. For Changed Date field:
Change Date
The date and time when a work item was modified.
Reference name=System.ChangedDate, Data type=DateTime.
Since using data time type, it's not able to auto exclude weekends, this is by designed for now.
State Change DateThe date and time when the value of the State field changed.
DateTime
= , <> , > , < , >= , <= , =[Field], <>[Field], >[Field], <[Field], >=[Field], <=[Field], In, Not In, Was Ever Macros: #StartOfDay, #StartOfWeek, #StartOfMonth, #StartOfYear, and #Today; each of these
macros can be specified with a +/- n interger.
There has also been a related feature request:
Add option to exclude weekends when setting up Styling rules using the 'Changed Date' field rule criteria
https://developercommunity.visualstudio.com/idea/376310/add-option-to-exclude-weekends-when-setting-up-a-s.html
You could vote up it and our PM will kindly review it. Unfortunately, we do not have any perfect solution/workaround, you may have to manually change/update the colored task based on those tasks which get started on Friday.
I have recently set up Grafana with InfluxDB. I'd like to show a panel that indicates how long it has been since an event took place.
Examples:
Server last reported in: 33 minutes ago
Last user sign up: 17 minutes ago
I can get a single metric pretty easily with the following code:
SELECT time, last("duration") as last_duration FROM custom_events ORDER BY time DESC
But I can't seem to get Grafana to do what I want with the time field.
Any suggestions?
Since Grafana(4.6.0) this is now possible with singlestat panels.
GoTo the Options-Tab
Select Value -> Stat -> Time of last point
Select Value -> Stat -> Unit -> Date & time -> From Now
Its currently(4.0.3) not possible to show the last timestamp in singlestat panels. But there is an issue for supporting this. Hopefully we will find time to implement this in the future.
In 8.4.0 There is a unit selection that allows you to do this, make sure your timestamp is in milliseconds since the epoch and select From Now as the unit in the dropdown menu
singlestat pannel expressing time since
Assuming I have hours per day set at 8 and start time set at 9.00 am how can I narrow down tickets using a JQL filter for tickets created between 9.00 am and 10.00 am? I was thinking something like:
AND updated > startOfDay() AND updated < startOfDay("+1h")
Please see my answer here: Filter issues updated by particular user in period of time using JQL
It seems like you are asking the same question. Hopefully this helps you out.
A scripted field using Script Runner plugin will show the hour:
import java.util.Calendar
Calendar cal = Calendar.getInstance()
cal.setTime(issue.created)
cal.get(Calendar.HOUR_OF_DAY).toString()