It informs reporter=user is not account always when I use sub-task creation by script.

Helen Song December 9, 2020

It informs reporter=user is not account always when I use sub-task creation by script.

in workflow's post-function.

JIRA version: 7.3.3

scriptrunner version: 2.24.3

 

3 answers

1 accepted

0 votes
Answer accepted
Helen Song December 10, 2020

Solved it.

.setReporterId(user.key)  --- here, we cannot use key or id, it can work by using username.

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.
December 10, 2020

 

You haven't told us how you are configuring or writing the script, so we can't tell you exactly what is wrong, but my guess is that you don't have a user with a login of "reporter" and you have probably incorrectly assumed that parameters can accept variables

0 votes
Helen Song December 9, 2020

The error is "The reporter specified is not a user"

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events