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

Change author name within DB Edited

Since I couldn't find any other way to change the author of the comments.

I'd like to figure out how we can do that in database.

 

Why? - Duplicate username issues with multiple domain alias.
So we are looking to change all comments that has x@abc.com(internal user) to x (external user)

 

We have a solution going forward, but we'd like to clean up the existing data.

 

I hope someone can help.

 

Tried so far:

  • Groovy script - doesn't have author edit method
  • REST api - does not change if you put author in the comment update request
  • jiraaction table - changes the user name visually in UI on the comments but doesn't actually connects it to the actual user (when you hover on the name, it doesn't show anything, and does not show in user's feed)

Haven't tried:

  • Export xml data then change comments author and import.

 

Edit 1:

I found the weirdest thing in db.

Looking at a comment, the author on the comment does not match what's in jiraaction. 


To make sure I was on same row in DB, I even tried updating the comment in the UI, and it did change the actionbody and updateAuthor. 

 

Now I am just lost :|

1 answer

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