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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot