Scenario:
Action to be taken:
I need to move all assignments, created by, comments, etc. to utilize the DOM2 user account rather than DOM1.
Question:
What is the best method to perform the action?
Hello Rich,
I know you can move all assignments, created by DOM1 to DOM2 using bulk edit, filter issues created by DOM1, or he is a assigne and use bulk edit to transfer it to DOM2, but not sure if it works for comments.
You want to erase DOM1 or?
We are talking hundreds of users, so using bulk edit really wouldn't be an option. I think I'd need something script based.
Yes, after everything is moved to their DOM2 accounts, DOM1 would be decommissioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, I get it now, this is how you could filter them based on domain, and then use bulk edit.
To filter based on a mail domain you need script runner, because of his function.
Do this go to your normal issue search go to advanced
tissue function in issueFieldMatch("project !=xx ", "Request participants", "@emaildomain")
the first part doesn't have to project = something, it can be anything from JQL, the catch is that this function requires two parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Red. You are correct, some of these mappings can be done using something like:
issueFunction in issueFieldMatch("project != BLAH", "assignee", "john" )
However, this would take a lot of manual work to accomplish. It would also be more prone to missing something. While it's a good suggestion, I don't think this would be the best method. I am thinking the best method would involve some database alterations via script.
For those who would like it, here is the documentation on issueFieldMatch:
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_issuefieldmatch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.