Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to change the owner of a view in Structure?


how can I change the owner of a view in Structure (not to be confused with the owner of the structure itself)? After migrating from one instance to another some of the views' owners were changed unexpectedly, and I have to switch them back to the original owners.

Any help appreciated, thank you!



1 answer

Hi Christian,

Thanks for posting. 

Do you know if anything unusual happened during the migration? It would be great if we could find out how that happened in the first place but you'd have to be able to reproduce it, which I understand might not be possible.

Anyhow, this can be done a couple different ways. The easiest way would be to use a script to call the REST API. Do you use the ScriptRunner app by any chance?

I look forward to assisting you. 

Best Regards,


Hi Vlad,

yes, we have Scriptrunner Plugin in use and I'd be glad if you could advise me or provide a code snippet how to do this.

Regarding the possible reason for the owner change:

I don't have access anymore to the source system the structures were migrated from, so unfortunately I cannot reproduce that exactly. The migration was performed as described in the "Backup Structure" and "Migrate Structure" paths in the documentation and took place between two JIRA instances on different systems. No structures were present on the target before migration.

Common to all owner changes is that Structure replaced the original owner with the user who carries out the migration (maybe the original owner could not be matched on the target instance?). The first screenshot lists some public views on the target instance with owner "olschink", who was logged in and carried out the migration as a JIRA system admin, but did not own any structures, nor was in any project role before migration.

The second screenshot shows another curiosity: A private view named "Tracking" doesn't have an owner at all (although I cannot safely verify  that the view did have an owner on the source instance before migration, but I suppose so).

Best regards



Hi @Vlad-ALM Works-

is there any news on this?

Best regards


Hi Christian,

Somehow I missed your updates here. I apologize.

We received your Service Desk request and I sent you a reply but wanted to post here as well. Would you prefer to make the changes as a "bulk" change or do you prefer to be able to go through them somewhat individually?

Once I hear back from you, I will work with our Solutions Engineer to put together a script for you. We should have it ready in a few days.

Best Regards,

Can we please get a scripts to bulk change the structure owner

Hi Lola, 

Are you referring to the script which we shared with Christian, or you're facing a different scenario?

The script mentioned here works by recovering the ownership of the views. It doesn't relate to the ownership of the structures themselves.

If possible, kindly clarify your goal and the issue you're coming across.

Mario O.G
[ALM Works]

Have seen the scripts. Thanks 

Hi @Mario O_G and @Vlad-ALM Works- 

I have a similar scenario where I need to change the owner of a Structure View as they are no longer part of the company. 

I have script runner available if you can provide a snippet of how to do this? 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

355 views 5 10
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