CurrentUser() in issueFunction

Dave Paulson May 14, 2016

issueFunction in commented() seems to work fine when using a literal. Is there any way to push something like the currentUser() function into it?

2 answers

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2016

This appears to have been done a long time ago: https://productsupport.adaptavist.com/browse/SRJIRA-1137

I just tested that it works:

issueFunction in commented("by currentUser()")

(and it did).

Dave Paulson May 16, 2016

My apologies; the issue appears to be an anomaly with certain of our issues with auto-generated comments. The syntax you've quoted works fine with manually entered comments.

Thanks

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2016

What does "using a literal" mean?  And "push something into it"?

Dave Paulson May 15, 2016

A "literal" is just ASCII characters in quotation marks. By "push something," I mean to be able to replace the "literal" with something that has to be resolved, like the standard JIRA currentUser() function I used in the example. We are trying to use issueFunction in commented() in a filter that would work for any user, not just a specific name entered into quotations.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events