it seems to specify a specific issue type name of “Assignment”, but shouldn’t it match to whatever is matched with the replica issue type from the mapping? In the example, what if the remote issue type was Bug, I don’t see how the example code would set the local issue type to Problem.
Comments:
Peter commented on 19 April 2023
Is anyone monitoring this forum to provide help? I posted this question several business days ago, and posted a separate one after that. I see these and many other questions recently open, despite the fact that submitting a formal support request encourages us to look to the forum for help.
Thank you, I didn’t see that explained in the documentation. So, I think I wound up doing it correctly based on that, but I’m getting the “issue type not found” error when I comment out the default issue type setting that’s in the incoming connection config and use the below. I have verified that the issue type we are testing with is an exact match in the config with how its written in Jira on both the source and destination side. I have workflow status mappings working with no problem, so I’m not sure what the problem is here.
//map issue types between source and destination instances.
In the code below, it is assuming that the replica has issue types of Bug and Task. These are mapping to the local issue types of Problem and Assignment. If the issue type can’t be mapped, then it defaults to Assignment. If you don’t have the Assignment issue type defined in your local system it will fail. You can change the Problem and Assignment types to match the types used in your local system.