I have 2 project within the same Jira instance, lets say project A and B. Now I want to export a ticket XYZ-123 from project A, then import it into project B.
The thing is that a XYZ-123 ticket has development data, like pull requests, its status (either merged, declined, open), created branches and commits.
So, if I export this ticket, I see that the "Development" column has this value:
{pullrequest={dataType=pullrequest, state=MERGED, stateCount=4}, json={"cachedValue":{"errors":[],"summary":{"pullrequest":{"overall":{"count":4,"lastUpdated":"2023-12-20T18:06:34.754+0400","stateCount":4,"state":"MERGED","dataType":"pullrequest","open":false},"byInstanceType":{"bitbucket":{"count":4,"name":"Bitbucket Cloud"}}}}},"isStale":false}}
When importing the ticket using "External System Import" I am mapping the "Custom Field (Development)" -> "Development" . I even see this data in the next step in import wizard.
But the imported ticket does not have this info in it. Seems like everything is set, I mean the Bitbucket -> Jira integration, custom fields and their mapping.
I also tried to play around the permissions, but no success.
Can you please help me to understand the reason and solve it ?
Hi @Arthur Harutyunyan if your bitbucket and jira are integrated then the jira id will be in bitbucket and those details drawn from there. The next time bb and jira sync it should update those details providing the jira id matches. I'm suspecting that this is not the case once the issue is imported via the csv re: the jira id no longer matches to the jira id in the commits/branches/pr's
hi @Craig Nodwell thanks for the answer. Sorry, what do you mean by "jira id" ? Do you mean the ticket id/number? And how can I check if the Jira id matches the id in commits/branches/pr's?
Why I am asking, because the idea is the following:
1) I have 2 projects, lets say P1 (team-managed) and P2 (company-managed)
2) I am exporting tickets from P1 and importing to P2, keeping the numbers the same. Meaning, exporting a ticket P1-10, and when importing to P2 I will have P2-10
3) Once I am done with import, I will rename P1 lets say to P7, and P2 to P1. So, by the end I will have completely same P1 project
This means, that I will have the same project keys and issueNumbers.
Will it change the situation and the bitbucket will be automatically synced with new P1 project?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's exactly what it should do yes. If in the end those issues keys or jira ids are the same as those that are in the commit messages/braches/pr's bitbucket should sync.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perfect, I hope so ))
Thanks a ton @Craig Nodwell , I was thinking the same and you just confirmed my thoughts.))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.