Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

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-
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 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