Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change author name within DB

zunairf July 12, 2019 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

0 votes
Tom Lister
Community Champion
January 24, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events