Two teams are working on their own JIRA to track the development of a common product. They agreed to synchronise all issues between the two instances. One of the challenges encountered was that the comments made on one instance, should be also made on the local instance, and the way around.
As both instances have a completely different user base, there is a need to be able to lookup the local user based on the email address of the remote user such that comments can be created with the mapped local user.
There are multiple issue sync solutions on the market (check here), and the question is how does each of these solve this problem ?
I compared how three of the issue sync solutions with the most active installations handle this situation. In my opinion, the most important part is that people want to know which person commented on the issue on the remote issue. This can be solved by either creating a comment with this real user (user impersonation) or by commenting with a technical user and including the user information into the actual comment (comment enrichment).
Here are the results of my analysis:
If you know how the other sync solutions handle these cases, please comment here, and I am happy to edit my answer.
Hi Mathias,
I do agree that in most cases, knowing who added the comment is sufficient.
Comment impersonation, and the ability to create users on the fly is required for business cases which need project mirroring or migration scenarios where you need to move issues from one instance to another.
If you have the time to detail out the problems that you encounter with the script, we are happy to help out. Just send whatever information to support@exalate.com
Francis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exalate allows to create and impersonate users with a very straightforward script
issue.comments = commentHelper.mergeComments(issue, replica, { comment -> def author = userHelper.getByKey(comment.author.username) // set the executor, optionally create the user is the local user is not found comment.executor = author ?: userHelper.createUser (comment.author.username, "changeme", //password ! comment.author.email, comment.author.displayName ) comment })
Check for more information How to impersonate a comment
Francis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like that feature will use up one of your user licenses, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Depends on the version and the global permissions of the target instance (where the comment is being delivered)
What combination are you looking for ?
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.