CurrentUser() but for the user ID?

I know how to use CurrentUser() in gadgets to get info specific to the currently logged in user. But is there a similar variable that is specific to the currently logged in users ID rather than just their screenname? I have not been able to find that. I ask because on the activity stream gadget, when setting it to a specific user, you get different information when entering the screen name vs. the ID.

If you enter the screenname or CurrentUser(), the activity stream populates, but does not include everything like when the person inters an issue.

if you use the user ID, you get the more comprehensive list of activity.

1 answer

1 accepted

0 votes
Accepted answer

Are you using activity-streams acrosss different tools? This sounds like an issue in the Actitvity Stream plugin, unless the different tools have different backend users.

We have JIRA Agile, Confluence, Bitbucket, and HipChat. But its the same user base acroos those tools.

So what I understand from your answer is that using a person's user NAME in a gadget filter is expected to return the same information that person's user ID intead?

@Jason- use the 'continue discussion' link to keep this convo in thread, and not as new answers :).

Yes, I would expect currentUser() (which is an object containing both username and id) to work across all tools if the user info was identical (i.e. using Crowd and all our apps streams are integrated), and your mention of BitBucket makes me think that users commiting to git are only tied to their user IDs, you may need to setup aliases, but I would think that the activity stream would only be missing, not JIRA tickets.

I am more suspecting this to be a bug/issue, potentially related to I would check for related knowledge articles, and if nothing lines up, submit a support ticket.

Thanks for the advice!

Sure thing @Jason!

If you do find a resolution (yourself or through support) please come back and let us know!

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

63 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you