i would like to write a rule which will be set customfield to value of "CurrentUser" after IssueCommented Event. (something like this -> customfield_10604=CurrentUser)
How can i make this because this return an error?
Best Regard, Jakub
How about using $authcontext.loggedInUser.name ? Won't that work? It should expand all things in standard velocity context, see https://developer.atlassian.com/jiradev/jira-architecture/web-fragments/velocity-contexts
You're right, I've checked the code and it doesn't provide the full Velocity context, only very limited subset - issue info (like key, summary etc) and customfield values. Due to that it's currently not possible however with a little bit of coding skills you can extend the EditIssueAction and implement this.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....
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