Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

"Development" data (branches, commits, pull requests) are not imported from the CSV

Arthur Harutyunyan
Contributor
December 23, 2023

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 ?  

1 answer

1 accepted

1 vote
Answer accepted
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2023

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

Arthur Harutyunyan
Contributor
December 23, 2023

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? 

Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2023

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.

Arthur Harutyunyan
Contributor
December 23, 2023

Perfect, I hope so )) 

 

Thanks a ton @Craig Nodwell , I was thinking the same and you just confirmed my thoughts.))

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Upcoming Jira Events