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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

Solved it.

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

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

0 votes

 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

874 views 14 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you