Jira JQL Query Render Number of Issues in Sprint - jira

Is there a way to automate sending a Slack message that renders the total number of issues in sprint and per project with a JQL query and/or smart values? I know there are smart values for sprints but there doesn't seem to be pne that gives renders a total numeric of issues in a sprint. For example, here is what I would like to send in the Slack message
Sprint 13 (12 issues)
Project Name 1 (3 issues)
Project Name 2 (5 issues)
Project Name 3 (2 issues)
Project Name 4 (2 issues)
I already know how to send an automated Slack message from Jira via a webook. I'm unsure how to query the db for the total number of issues in a sprint and break it down by project to render the total number of issues assigned to that project within the sprint.
Thanks in advance for any help someone can provide.

Related

Is there a limit of max 10000 work items per Backlog?

What does it mean the phrase "You can have up to 10000 work items on a backlog" taken from this link
https://learn.microsoft.com/en-us/azure/devops/user-guide/service-limits?view=azure-devops#work-items ?
I'm using TFS 2017 update 1 on premises (I'll upgrade to Dev Ops Server 2019 update 1 asap) in a very large project with hundreds of users and after two years we collected more than 10000 work items in a single Team Project (10661 to be precise). I hope that I will able to add new work item in the future without limits in the same Team Project (I think it's reasonable to have a limit like 500000 or 1 million of work items but no with only 10000 work items). I'm afraid that I'll see an error message like "TFSXXXX: max number of work items reached".
I repeat: What does it mean the phrase "You can have up to 10000 work items on a backlog" taken from the above link?
First of all, the link you mentioned is about Azure devops Service, not TFS. To see the restrictions on TFS, you need to switch to TFS2017 version in the upper left.
Secondly, the limitation mentioned in the document is about the maximum number of work items that can be displayed in the backlog, instead of a limit on the number of work items.
Each backlog can display up to 999 work items. If your backlog exceeds
this limit, then you may want to consider adding a team and moving
some of the work items to the other team's backlog.
Regarding the limit of the number of work items, because the id of work items are increasing on a collection level, there is no limit to the increase of unique id, so the number of work items is also unlimited. You can refer to this case with similar issue.

Reporting in TFS VS 2017

My team works in a 2 week timebox and they indicate how many hrs each PBI, Task, or Bug will take via effort (if PBI) and remaining effort (if Task), and both if a bug.
As they progress through the Sprint they update their hrs. to show progress of effort.
For example, it's July 24 and John knows that updating a module will take 20 hrs. To complete and as he progresses through the Sprint he updates that number to 15, 10, 5, and then eventually 0. My goal is to show a report with that trail to verify that the 20 hrs. committed to the task was completed. I did some research and could not find much help, but perhaps I'm not stating my question right. Any advice regarding this issue would be much appreciated.
What you are looking for is more like a time tracker and generated report to verify or reflect it.
We do not have this kind of build-in feature or report in TFS server. However, as a workaround, there is a number of applications/add-on out there that expose TFS time tracking/time sheet capability.
They offer different levels of integration with TFS depending on your specific workflows/requirements. They pick up your TFS data entries and provide dashboards for operational reports as well as API to get data loaded to your systems.
Some 3rd-party extension for your referenceļ¼š
7pace time tracker
SSW Time Pro

How to structure booking app for scheduled tasks?

I want to build a whitelabel booking app for offline services that are organized the team members schedule.
A good example would be a hair salon: There are several team members working for several hours daily and customers can book various services that take different amounts of time to complete. The customers should see which timeslots would still be available to book their services so that the schedules of the team members get filled up automatically.
My questions is: How should I model this in the database? I know this problem has been solved a million times but I could not find any information on a pattern for this.
My Suggestion:
A table that holds all the available timeslots in 10min pieces of all the team members for the next 4 weeks
A cron writes the newly available hours (in 4 weeks) into the table every week
As the customers book services of the lengths of 30min, 60min etc. 3 or 6 of these 10min timeslots are assigned to the order
I hope this makes sense. I would very thankful for hints to any patterns for scheduling apps of critique on my suggestion :)

Jira - report on bug resolution per user

Is there a way in JIRA to run a report to see how many issues were "resolved" by what users and how quickly since the issue was reported? It needs to be per user
Thanks
You can build arbitrary reports yourself with a Report Plugin Module, but my experience is that it's quite a hassle. Note that plugins will only work in self-hosted Jira installations, not in Atlassians hosted service.
Another way would be to leverage the REST API in order to fetch worklogs and process them externally.
Your requirement needs some clarifications I think. It seems you want to see the number of issues that were moved from some status to another status, or perhaps the last time the resolution field was set to a value (any value?). Then group those results by JIRA user.
A second requirement is to track the time from issue creation to the last time the resolution field was set. Again grouping by user.
I'd try using the Vertygo SLA plugin from Valiantsys to do this. It lets you define custom fields to track the time between two JIRA events such as a field updated or a status changed. I believe it can sum those fields and display grouped results in the JIRA statistics and two-dimensional gadgets.
Reports that group by user often become quite large as the number of users increases.

TFS - whole project start and end dates with sprints

i am having a TFS 2012 server for managing my project
i have several sprints with same length 2weeks
Is it possible to set a whole project start and end dates ?how can you see the whole project start and end dates with all the sprints informations weather it is ongoing, finished, late.
Thanks
The sprints should be defined under a parent node. You can set this node's start and end dates just as you would the sprints.
As for seeing information about the project (i.e. whether, or not, it is on-going, finished, late, etc.), depends on which metrics you are looking for. SQL Server Reporting Services contain reports that run off both the Warehouse database and the OLAP cube that resides in Analysis services. The reports are dependent on which process template the project is based off of (Agile, Scrum, CMMI, etc.). Nonetheless, the reports will give you overview information, release burndowns, sprint burndowns, etc.

Resources