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.


2 answers

1 accepted

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.


This seems like an answer to another question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,082 views 4 9
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