The priorities array starts at 0. As for reversed, we have always used P1 == highest priority - I'm not sure if there's an official Bugzilla convention for this, but I thought I'd mention it anyway.
For our migration, I had to change the mapping as follows:
I believe the issue priority hash map is reversed and off by one:
The priorities array starts at 0. As for reversed, we have always used P1 == highest priority - I'm not sure if there's an official Bugzilla convention for this, but I thought I'd mention it anyway.
For our migration, I had to change the mapping as follows: