How group issues by properties of linked issues in jira - jira

I have a base filter / JQL in jira in the form of a rich filter. I wanna show a pie chart or table (or literally anything else) and group them by the name of a linked issue.
To give a simplified example, lets assume a project A and a project B. Issues if project A are linked via "relates to" to issues of project A and B. My base filter is on issues of project B, and I wanna visualize how much work has been logged on issues project type B, per issue of A.
So the base filter could simply look like:
project = B
and I wanna visualize time spent (as logged on issues of B) per issue of A.

Related

TFS 2015-2017 Assistance

I am new to TFS and know the basic concepts. In my case we have customized TFS a lot which contains around 17 collections, custom fields in work items etc.
I have some queries for which I require some answers. The questions might be generic, but any help or suggestions on the below queries would be great.
Following are my queries:
1.) Show Work Item ID in a specific format. Can it be done
2.) Auto Fill custom fields for a work item based on a category / linked bugs (analogous to Relative Path column type)
3.) While raising a WI through Visual Studio development tool, the datepicker only takes date value and not time. The same work items when raised through web portal the datepicker gives time value as well.
4.) Auto Fill the efforts spent in Child Work items (summation of all child link items in the parent)
5.) Reminders to be sent if iteration / scrum set date crossed. Also check for Work Items as well, if set date is crossed.
6.) Create Queries which can query across all collections / verticals. Currently queries can be made only against each entire collection, but not across all collections. Do we have any mechanism to query against multiple collections?
7.) Email alerts customizations in TFS.
8.) Can the collections be merged into 1 default collection.
I have tried to find few answers from my end as well, and would like to know, if it is correct.
1.) Work Item ID cannot be shown in a specific format as it is system generated
2.) For Auto Filling of Work Item fields, it cannot be done. Manual approach is the only way (unless there is a way to pre-populate fields
3.) One can only query for all projects in a single collection. But it is not possible to query against multiple collections and get the results.
So require assistance on the above queries and also validate the answers I have got for few of my questions.
Any help or suggestions or relevant links would be great.
Thanks In Advance!!!..
Please kindly check below inputs
You are right. This is by designed. You can not change to use other
format of work item.
Yes. This could not be done at present. It's still a user voice, but
on the Roadmap. Support for calculated fields and roll-ups.
Sorry, not get your point.You could use the DateTimeControl type to give users a calendar picker to select a date for a DateTime field. By using this control, you can quickly select a date and time for the field. For details.
You could do this from a sprint backlog or task board. Details
please take a look at our official tutorial here: Rollup of work
and other fields
We do not have this kind of build-in time reminder for work items.
However, as a workaround, There is a dashboard widget that uses #me
in its query.
You can also cobble something together using the REST API and a
scheduled build. Calling a work item query and sending email is
pretty easy from PowerShell.
No, they are using different database. You are only able to query
across team projects int the same project collection.
It's able to do this but with a little bit complicated. For detail
info, please take a look at this link: Customize TFS 2015 alert
email
There is no default way to do this. I do not think there is a
possibility of merging two TFS collections other than creating a new
collection, creating the team projects and use a tool such as TFS
integration tools to move the team projects from the source
collections.
As you can see, history will be rewritten with new dates, changeset
and work items ids etc, if you are trying to merge collections.

Is there a way to breakdown user access within a Jira project by component

I was asked to separate access to a particular Jira project by component. e.g. user "a" can see issues created for component "a", but not component "b". conversely, user "b" can see issues created for component "b", but not component "a".
I know that I can limit access to a particular project to one or more users, but I was unaware of a way to filter access to one or more users by component within a Jira project.
Is there any way to limit access to one or more people to a subset (less than all components) of a project?
I did a search for a Jira plugin that might offer this functionality, but did not find what I was looking for.
N/A
N/A
I don't know if that's possible by using a component (I don't think so), but there is an alternative approach which might be sufficient as well:
You can adjust the Browse Projects permission like this:
You can grant permission to a group custom field value. Then you could choose a custom group field (create one if not available) which will be evaluated on each issue. Then, if you create an issue and add a group to this custom field in that issue, only users from that group have access to view the issue. Take care that you remove the any logged in user setting for "Browse Projects", otherwise the group custom field does not have any effect. There is also a KB article here in Jira's documentation.
The first question is what are you trying to do? Why do you want to restrict who can view issues?
Jira has Issue Security Schemes that can do this based on setting the security level according to the component, or other fields. I'd use a custom create post function
But what happens when the component is changed? Now you have to restrict editing too.

JIRA Board with quick filter using a lookup control for projects

We have a JIRA board (Kanban) that has many Projects on it that the team work on interchangably, these are added to the board using a custom filter which is based on specific tags on the issues.
I want to be able to create a quick filter the current board, by one or more Projects at a time, the same way that can be done in the Issue Search, ie using the Project drop down.
The alternate to this is to be able to create a custom swimlane where each project is grouped together, but I don't want this setting on by default, so the quick filter option would be much better. I have tried to create the Swimlane using custom query containg the JQL "ORDER BY project ASC", but this only creates one group called Projects, not a group for each project.
The board shows issues matching the intersection of active filters, not the union, so the approach I'd suggest is to have filters of the form PROJECT != your_project_name, titled "Hide your_project_name" so that people select the filters for projects they aren't interested in, leaving the ones they are showing.
Don't think you can do that. A quick filter is literally a link - it's can't be rendered as a drop down list. And it is, as is titled, a "filter". So each filter you click the link for restricts to cards that match that filter. Quick Filter just doesn't have functionality to do what you want.
Swimlanes is closer to what you want. Swimlanes can be individually expanded or collapsed, and there is also a expand all and collapse all option on the Board menu.
Also, if you are having to manage a lot of different projects on one board - you might take a look at JIRA Portfolio.

How to write a script to create and populate new spreadsheets from a master document?

I would like to create a pupil progress sheet for each of my pupils that is held in my gdrive and is owned by me (Teacher).This spreadsheet would use import range to pull test data from the 'Class sheet'. The pupil would be able to view their file but not make changes, or make a copy of the file so that they can make changes!).
This I can do manually but doing this for a class of 30 (let alone the 10 classes I have!) would be tedious in the extreme. I would imagine that a script might be able to automate much of this and I was wondering if there are any showstoppers in the list of requirements below before investigating further.
Is it possible to create a script that does the following from a MASTER SHEET (below):
A B C D
1 ID NAME EMAIL
2 1 sample sample#gmail.com
3 2 sample2 sample2#gmail.com
1) Run through the list above and create a duplicate of a separate template Google Sheets file for each person in Column C.
2) Rename the sheet to their name using column C
3) Populate a single cell (A1) within the new spreadsheets with their ID (Column B)
4) Share with the email (Column D) allowing VIEWING only and disabling copying the file etc.
Yes, you can create a "Master" document, only readable and not editable by anyone else but you. That document can be accessible to all your students after you share it with a "public link" to view (not to edit).
With the help of Google's SpreadSheet, you can create a file with different questions for instance, and run a script to generate different types of tests, but this might require a little of knowledge of Javascript. You can learn how to make Google drive scripts from tutorials.
For me, the creation of automatic named files for every student, and send emails automatically is not a great idea, but yes you can do it and there are tutorials on how to send emails from a Spreadsheet.
The best option is to just give a link to your students.
Preferably, after you create a sharing link from Google Drive, you should make the link as short as possible, by using a free service like the site bit.ly where any huge and hard to remember old link, can be shortened to something more easy to use like bit.ly/TomTests_Oct2016.
You can also consider to use Khan Academy if it fits your needs, since you are a teacher. This is definitely one good platform to evaluate students progress, with a lot of free content (if not everything).

How to automatically assign a TFS work item to a particular person/role

I would like to customize a Work Item Type in TFS to automatically set the Assignee to a particular role. For example (to compare to another Issue Tracker), in JIRA the default Assignee is the Project Lead (so that any ticket not otherwise assigned, gets automatically assigned to whatever person is designated in the role of Project Lead). Can I do something similar in TFS?
So, I realize that one difference between JIRA and TFS is that TFS doesn't (to my knowledge) have the concept of "Roles". The closest thing to that is "Groups", but unlike Roles, Groups can have multiple people (which may be the restricting factor in this problem). I know how to configure a TFS Work Item so that only a certain Group gets listed in the "Assign To" field, but I would like to go a step farther, if possible, and create a custom Group with just one member (e.g., "Issue Guru") and then set up the work item to get automatically assigned to that person.
I'm trying to replicate the Jira functionality here, and maybe there is just no good way to do it in the TFS framework. Any suggestions?
There's a Step by Step Guide on Ivan Fioravanti's Blog for enabling it.
If you are unfamiliar with customising Work Item Types, have a look at the following links (stolen from Grant Holliday's blog).
I never tried this in production but here is something I tried quickly and it seems like it could work.
You can set the default value to a Group by editing work item template in template editor.
Just select Assigned to field and add a DEFAULT rule like shown in the image below.
This will also require you to create one or more groups (one global or maybe one per project). Once you set this up you won’t have to make any updates in the future but only manage people who are in the groups.

Resources