How Can I Display an Attribute Value in report Builder Output when the Attribute Type is Contributor?
Rob Olsen (35●1●21●53)
| asked May 06 '16, 10:04 p.m.
edited Feb 21 '17, 10:12 p.m. by Geoffrey Clemm (30.1k●3●30●35) We are using RTC to track membership within an organization within the company. We track a member's name, ID, team, and other information about the member. They are using Report Builder to create output files with member information. I can pull all of the data that they need except for one item, the “Member Name”. The “Member Name” attribute is a “Contributor” type and is not selectable and therefore I am not able to display that in my Report Builder output. Is this a flaw in the Report Builder capability, or for some reason should I not be allowed to display values where the attribute type is “Contributor”? This is going to be a real bummer if this turns out to be the case as I am able to pull all of this information about a member of this organization except for their name! Not very worthwhile. Any help would be appreciated! |
Accepted answer
Hi Rob,
Complex custom attributes (such as Contributor, Team Area, Iteration) are not yet supported by Report Builder. The story User would like to support complex custom attributes (i.e. of type Iteration or Work Item) and add conditions and add them as columns (376959) is currently open, but it hasn't been assigned to any release yet. If you have all the data you need, except the Member Name attribute, you could use the Advanced section on the Format Results page to edit the SQL statement. You would need to add the RICALM.REQUEST_RESOURCE_EXT table to the SQL, using the REQUEST_ID field to link it to the REQUEST table. Please let me know if you need help adding that table to the rest of the SQL statement, I can help you with that. Thank you, Clara Forero Rob Olsen selected this answer as the correct answer
Comments
Rob Olsen
commented May 20 '16, 4:16 p.m.
Hey Clara, yes, I have all of the data I need except for Member Name. I thought that query outputs and report Builder were so similar that is why I am surprised that you cannot dump a "contributor" attribute in Report Builder since you can in a query. So I have dumped out the SQL information but never edited it. I would appreciate your help in regards to this. What do I need to provide? I'll send you the instructions by e-mail.
Rob Olsen
commented May 20 '16, 5:11 p.m.
Modifying the SQL query worked! Awesome! @ clara forero
Could you pls provide me the solution (script) .
Even i am trying to display the contributor (role based enumeration) in the report .
Could you pls elaborate how to bring it in reports using advanced script option..
Hi Kesav,
thanks very much Clara Forero for the query.
i tried it .it worked.
But there is a concern
1) in report "the contributor " columns shows all the contributors names as a list against a particular workitem ID and not the one which i have selected and saved while raising the ticket,As per the above query i can use the individual contributor name in the query and fetch data but this report is generic which has to show the contributor i selected for that particular ticket while saving.
and another concern
2) while raising the ticket i have 3 other role based contributor drop down where user has to select it and save,so how to bring the same in the report as columns.
my recent query after modifications
SELECT DISTINCT T1.PROJECT_NAME,
T1.REFERENCE_ID,
T1.NAME AS URL1_title,
T1.URL AS URL1,
T1.REQUEST_TYPE,
T2.FULL_NAME,
T3.RESOURCE_NAME AS Contributor
FROM RIDW.VW_REQUEST T1
LEFT OUTER JOIN RIDW.VW_RESOURCE T2
ON T2.RESOURCE_ID=T1.OWNER_ID
LEFT OUTER JOIN RICALM.VW_RQST_RESOURCE_EXT T3
ON T3.REQUEST_ID=T1.REQUEST_ID
WHERE T1.PROJECT_ID = 1670 AND
( T1.REQUEST_TYPE = 'Allocation' AND
LOWER(T1.REFERENCE_ID) LIKE '%78743%'
) AND
(T1.ISSOFTDELETED = 0) AND
(T1.REQUEST_ID <> -1 AND T1.REQUEST_ID IS NOT NULL)
pls help.
Hi Kesav,
showing 5 of 7
show 2 more comments
|
6 other answers
hello guys,
I am stuck at one point that contributor type attribute is not displayed in JRS 6.0.2. For this I refresh the Data source and Also run DCC jobs and again refresh data source. pls help me over this.
|
Hi Clara Forero,
Is 6.0.3 supports Contributor Type attribute?
|
Hi,
|
Thanks @Clara Forero.
First of all I Describe scenario of my Task. then suggest me what should I have to do.
I Made project in RTC 6.0.2 using "Money that Matters sample in Lifecycle project". after that I create custom attribute in WorkItem having type Contributor and TimeStamp. then I Run DCC jobs and after that entering URL i.e. "https://server_name:9443/rs" I go through the admin then click on Data Source and refresh the DS. The attribute having type timestamp is displayed after clicking add condition but Contributor is not displayed yet. So I used your scenario of adding SQL Query then it shows column of Contributor In report after clicking on Run Report but not seen in Column. I want to seen Contributor type attribute after clicking on Add Condition. Now what should I do.
|
Hi Sayli,
|
Hey clara,
Thanks for the answer its really helpful and workout for My task. now I will upgrade and check the result of contributor type support in JRS or not.
Thanks,
Sayli
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi Rob,
I'm trying to understand what exactly you mean by "Member Name". Is that a custom attribute that you added to a specific work item type in RTC? Where exactly is this "Member Name" attribute located? What artifact(s) are you using in the report? What other related attributes are you able to include in the report?
Thank you,
Clara Forero
Clara, thanks for responding ...
So, correct, "Member Name" is a custom attribute that is defined as "Contributor". "Member Name" is located in the "Overview Layout" area, in the "Details" section.
Member Information (Overview Layout)
Member Information Details (layout slot: Details)
Member Name (Contributor)
As far as "What artifact(s) are you using in the report?", I am not exactly sure what you are asking. I am using as much detail about the member that I can. Member ID, Function, Assigned Manager .... all of these are selectable from the drop down menu in the report.
I can create a query and under "Column Display" in the "Select Attributes" pop up menu, I can select "Member Name". The query runs and the member names are listed. But I cannot select "Member Name" when doing something similar in Report Builder, "Member Name" is not an attribute that I can choose to display.