Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need to extract Perforce changelists information from Bamboo

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.

1 answer

0 votes
robhit Atlassian Team Apr 03, 2018

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_EMAILFROM    buildresultsummary a,    build c,    project d,    commit_files e,    user_commit f,    repository_changeset g,    author hWHERE    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_IDORDER 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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

251 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you