Hi Nik,
Thank you.
On looking at the source code from the link you provided, if I add the typepath for changeset(as below in bold), do you think it will be sufficient, or should I need to add different hierarchialrequirement to get changeset with artifacts?
Ext.define('Niks.apps.ParentChildMapper', {
extend: Rally.data.wsapi.ParentChildMapper,
parentChildTypeMap: null,
constructor: function() {
this.parentChildTypeMap = {
//Only possible dependency of a user story is another user story.
//Due to the 'funny' in sdk.js, add the defect in as well.... can't hurt....
hierarchicalrequirement: [
{typePath: 'defect', collectionName: 'Defects', parentField: 'Requirement'},
{typePath: 'changeset', collectionName: 'Artifacts', parentField: 'WorkspaceDomainObject'},
{typePath: 'hierarchicalrequirement', collectionName: 'Predecessors', parentField: 'Successors'}
],
// milestone: [
// {typePath: 'artifact', collectionName: 'Artifacts', parentField: 'Milestones'},
// ],
//Don't know why this one is here, but leave it for now
attributedefinition: [
{typePath: 'allowedattributevalue', collectionName: 'AllowedValues', parentField: 'AttributeDefinition'}
]
};
},
Original Message:
Sent: 06-02-2020 05:08 AM
From: Nik Antonelli
Subject: Re: Change Sets
Hi Hardeep,
Most of the apps in Rally deal with a specific artefact type and the fields that are available on that type. It is not exactly clear what you are after, but FormattedID is not something that is available on a ChangeSet.
If you are after the FormattedID of the associated Artifacts, (i.e. Story, Task, Defect), then you will need to use something like a Custom HTML app to achieve it. The easiest way I can think of is to modify the Custom List app source code in a similar way to this:https://github.com/nikantonelli/CustomList-Dependency/blob/master/Mapper.js By changing the mapping of the parent child relationships, you will be able to get the Custom List app to show all the ChangeSets with their associated 'children' Artifacts.
This approach should allow you to choose the fields that you want to see from the ChangeSet and the associated work item.
------------------------------
Nik
Ask me a question, I'm All Ears!
Rally Sales Engineer
Rally Software
Original Message:
Sent: 05-29-2020 04:53 PM
From: Hardeepsingh Dhaliwal
Subject: Re: Change Sets
Hi Chas,
When I use the Custom List app (source code) in Custom Html to display the dashboard and change the edit App settings with type:Changeset , then
I can see column names ["Name", "CreationDate", "Message", "Revision", "SCMRepository", "CommitTimestamp", "Uri"].
I would like to add 4 more columns to the same type:Changeset so that it looks like this
["FormattedId", "User","Story","Task","Defect", "Name", "CreationDate", "Message", "Revision", "SCMRepository", "CommitTimestamp", "Uri"].
Thanks
Hardeep
Original Message:
Sent: 05-29-2020 04:33 PM
From: Chas Chand
Subject: Re: Change Sets
What are you looking at specifically in the SDK
It may be possible to add columns but need to know what you would like to add columns to
Original Message:
Sent: 5/29/2020 3:13:00 PM
From: Hardeepsingh Dhaliwal
Subject: RE: Re: Change Sets
Hi John/Lori,
Any idea on how to display the Artifacts linked to change sets?
I looked at the https://rally1.rallydev.com/apps/2.1/sdk.js
and the default fields are changeset: ["Name", "CreationDate", "Message", "Revision", "SCMRepository", "CommitTimestamp", "Uri"]
at line 87124.
Can we add FormattedID,User, Defect, Story, Task in the sdk file default fields to display them in the custom grid?
Any suggestion will be very helpful?
Thanks
Hardeep
Original Message:
Sent: 04-29-2019 07:44 PM
From: Balaji Dommaraju
Subject: Re: Change Sets
Hey John,
Do you have any solution to display Artifacts linked to change sets.