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

REST/Python: "The reporter specified is not a user."

I like to clone a ticket but things are going wrong when the original reporter is no longer active.

I use the following to set the reporter:

reporter={'name': parent.fields.reporter.name}

The exception that is thrown = The reporter specified is not a user.

I can print the name of the reporter, confirming its existence in the DB:

print("Reporter=%s" % (parent.fields.reporter.name))

Which returns: Reporter=username.contractor

 

Could somebody please advise what I need to reference to set the reporter in case the user is no longer active?

 

2 answers

0 votes
Dirk Ronsmans Community Leader Jan 11, 2021

Hi @Lucas Molenaar ,

Could you specify what version of jira/jsd you are on? A lot of these features including inactive users have changed throughout the versions.

This might be similar to https://jira.atlassian.com/browse/JRASERVER-38412 which has a lot of "affected versions" so it would help to narrow down the issue and hopefully a workaround. 

You are absolutely right, forget to mention that:

Suggest an answer

Log in or Sign up to answer
TAGS

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