Script Runner RenameUser issue

Like many other users I am getting an error trying to rename a user using Script Runner. We know why we are getting the error (user exists in multiple directories) but want to know if we can get around it. Can anyone tell me where the RenameUser script lives? And if so, if we are able to make edits to it to accomodate what we want to accomplish? We have some dev guys on-site who feel like they may be able to get it to work with our setup.

Thanks!

2 answers

1 accepted

0 vote

You can find the script in the jar file which you can download from marketplace. It doesn't support renaming users across directories.

In the next release I will either fix it or remove it.

Hi Justin,

I don't think you can do that out of the box unless writing your own plugin with Zephyr. However, there is a workaroudn I would use:

1. Install Groovy script runner add on

2. Edit your workflow and add a transition called "Create a test"

3. Go to the post functions for that transition and add a post function

4. Select "Script Post function" which comes with Groovy Script Runner and click add

5. Select "Clones Issue and links" option which you can select issue type test within the same project and fill in other parameters as needed

6. Publish your workflow

You can add this transition/button to anywhere in the workflow and that should meet your requirements.

Hope that helps.

Mehmet

This seems like an answer to another question.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 8 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

100 views 4 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you