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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,419,227
Community Members
 
Community Events
171
Community Groups

How to use author in eyeql

I want to: I'm trying to use author in an eyeql query.

Tried this: The only way I could make it work was adding the full name and email to the clause, like this

select revisions where author in ("User One <user.one@cc.com>", "User Two <user.two@cc.com>") group by changeset

I tried with userids

select revisions where author in ("uone", "utwo") group by changeset

with emails

select revisions where author in ("user.one@cc.com", "user.two@cc.com") group by changeset

but nothing seems to work, except for the very long display name <email>

Q: Really, is this display name <email> the way to do it?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Javier Perez,

I am afraid at the moment FishEye expects the full committer name as the author, as it was stored in the scm.  

Feel free to raise improvement request in https://jira.atlassian.com/projects/FE project, it seems reasonable to allow either FishEye user name (so all mapped committer names would match) or even partial committer name.

Hope that helps,

Piotr, thanks for you answer. Notice that it's not only the name what I have to specify, but the full name + the email. The input has to be in the form _User One <user.one@cc.com>_, _User One_ only doesn't make it

Is this expected?

I think this is expected. I am guessing you are using git or mercurial repository and the committer name that you see in your git log or hg log is displayed exactly in the same format, User One <user.one@cc.com>, is it not? Remember FishEye has a nice feature where you can switch between simple and advanced (eyeql) query mode, the search criteria will be automatically converted. So if you don't know how to specify particular user, you can use the simple search form to pick up selected user and then switch to advanced (eyeql) mode to see what the query should look like. Perhaps this video would explain better what I mean: https://www.youtube.com/watch?v=ya5gp88gEKI

Yes, switching from simple to advanced brings the whole "User One <user.one@cc.com>" Question clarified, but the answer is less than optimal :-(

Thanks Piotr

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events