Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to find Crucible review from Changeset number?

So I'm frequently looking over our source code, notice a change that I'd like to comment on, and want to find any potentially still open code review. Fisheye does indeed list and link to the review with the individual changed file, but oddly not on the changeset page. And I can't find a search interface for Crucible that would let me enter a CL number and get associated review(s). Is there one? Why not?

1 answer

1 accepted

1 vote
Answer accepted

Searching by Change Set ID (CSID) can be done using an EyeQL search. To find out what reviews it is in, make sure that the query returns the "reviews" field.

The general format of the search would be something like this:

select revisions from dir "/" where csid = <some_id> order by date  desc  group by changeset return path, revision, author, date, csid, reviews

To get to where you enter the search can be hard to remember, but this works for me.

- Since I am looking up something about a source file in a repository, I need to go to the Source pull down an select the repository.

- I am doing a search, so I select the Search tab (far right).

- And I need to Switch to EyeQL Search (bottom of left frame).

Thanks much, this is really very useful and clear. And can even be turned into a direct URL, e.g. like this:

http://<fisheye server>/search/<repo>/?refresh=y&ql=select%20revisions%20from%20dir%20"/"%20where%20csid=<csid>%20order%20by%20date%20desc%20group%20by%20changeset%20return%20csid,reviews,author,date,path

For some reason, this is no longer working. FishEye isn't finding any reviews anymore - it still finds the change sets, but the "reviews" column is now always empty. We're clueless as to the source of the problem.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

144 views 1 8
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