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

Accepted Answer
0 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
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