Looking at my system info, I am using Jira 5.2-m04 with my Jira OnDemand software. I have been trying to find an easy way to set the value of a custom field (User Picker) to the Current User. None of the Post Functions I have available in my transition screen will do that. While searching, I found that they added some post functions, including Update Issue Custom Field, which accepts %%CURRENT_USER%% as the value and utilizes the current user name automatically just the way I want. Unfortunately, I don't see that option in the OnDemand suite. According to comments, they also added the ability to use %%CURRENT_DATETIME%% also as another option for that post function in version 1.2.4 of Jira. It's my understanding that the 5.2-m04 version I am using for OnDemand correlates to version 1.2.4 of Jira, so I would expect it to be there. Any thoughts?
Jobin, thank you SO much for that quick response. I was hopeful that it was going to be an easy "fix". I didn't even think to look at the plugins, since I thought something like that would be on by default. In any case, that did the trick, so thanks again! I really appreciate it!
On a related note, this now brings up another question. It looks like when you use that post function with the %%CURRENT_USER%% macro assigned to a custom User Picker field, it sets the value with the userid. Is there any way to display the Full Name field the way that the Assignee field does? I would've expected that macro to use the Full Name as opposed to the user name, since most people are used to seeing an actual name, but I guess it doesn't necessarily do that. Thanks again, though.
Jobin, yeah, I expected it to show the name, since I used a custom field of type 'User Picker'. Is there a different type that I should be using? The only thing I was thinking is that the %%CURRENT_USER%% is a macro and maybe they mapped it to the username instead of the Full Name of the user object. This is what I got as a result when I tried it as is:
yeah, I assumed the username would be the actual value stored, but I, too, was expecting the Full Name to display. I tried pasting the screen shot of it in my post, but it didn't like it. Is there a special way to show it here on this site, or do I need to upload the pic to a hosting site and then link to it?
I may be having problems because I'm on a Mac? When I clicked on Choose File and added it, it showed up when I clicked on the Show Preview link it had the image displayed, but when I click on the Comment button, it's gone. I'll try to upload it somewhere. Unfortunately, our work has most image sites on the not allowed list.
Jobin, yes, that was on the edit screen. You are so right, it does show full name in the main "view" screen under the "People" section. When I went into the "Edit" screen, that's where I saw it as the username. I guess I was expecting it to be like the standard Jira "Assignee" field, which shows the full name when you select someone. However, maybe the standard Jira "Assignee" field is a slightly different type behind the scenes (maybe derived from the User Picker type, but not the exact same). Thanks for all of your help, Jobin!
Well then, mystery solved! :)
I'm sure I will be seeing you again soon when I post my next question. We are trying out the OnDemand suite, but it looks like we're going to go the installed route (mainly due to Fisheye/Crucible not playing completely nice with our GitHub repository in the OnDemand product), so I expect to have a number of questions. Thanks again!
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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!
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