You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We need to extract information on all Perforce changelists in Bamboo. Atlassian Tech Support advised us that there is no such out-of-the-box feature exists. Has anyone done such report? I'd greatly appreciate any help/suggestion.
Hi Gregory,
Thanks for your question!
Let me know if the below query helps you go fetch the required result:
SELECT
d.title
AS
'Project Name'
,
c.title
AS
'Build Plan Name'
,
c.full_key
AS
'Plan Full Key'
,
CASE
WHEN
c.build_type =
'CHAIN_BRANCH'
THEN
'Branch Plan'
ELSE
'Main Plan'
END
AS
'Plan Type'
,
a.build_state,
c.UPDATED_DATE
AS
'build_updated_date'
,
a.build_number,
e.COMMIT_FILE_NAME,
g.CHANGESET_ID
AS
'CHANGESET'
,
f.COMMIT_DATE,
f.COMMIT_COMMENT_CLOB
AS
'Commit_Comment'
,
CASE
WHEN
h.LINKED_USER_NAME
IS
NULL
THEN
'Author is not linked with a user in Bamboo'
ELSE
h.LINKED_USER_NAME
END
AS
'Linked_Author_Name'
,
h.AUTHOR_NAME,
h.AUTHOR_EMAIL
FROM
buildresultsummary a,
build c,
project d,
commit_files e,
user_commit f,
repository_changeset g,
author h
WHERE
c.build_type
IN
(
'CHAIN'
,
'CHAIN_BRANCH'
)
AND
c.full_key = a.build_key
AND
c.project_id = d.project_id
AND
e.commit_id = f.commit_id
AND
f.REPOSITORY_CHANGESET_ID = g.REPOSITORY_CHANGESET_ID
AND
f.COMMIT_REVISION = g.CHANGESET_ID
AND
g.BUILDRESULTSUMMARY_ID = a.BUILDRESULTSUMMARY_ID
AND
h.AUTHOR_ID = f.AUTHOR_ID
ORDER
BY
d.title , c.full_key , build_updated_date
DESC
;
Thanks,
Robhit
Robhit,
Thank you for your suggestion. Unfortunately it is not what I needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.