Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping the issues copied from one project to another

Yellalingh Margonda February 20, 2020

HI Team

Preconditions for my requirement, 

  1.  We have two projects, Project A and project B have the same workflow
  2. Ticket in project A has reached a particular status and copied in project B,copied ticket in project B is in the beginning of the workflow, i.e it is just created. Project A will have the original ticket.
    above two process are automated in jira now.

We have automated the step 2 and achieved the desired result

My question is how can I know ticket Id from project A and corresponding copy ticket ID created in Project B.  in other wards I want to know how can I map the original ticket from project A and copy ticket from project B.
let me know if there is an api which can give me this map

2 answers

0 votes
Yellalingh Margonda March 16, 2020

@Petter Gonçalves  

Thanks for the support, I have made work arround. I am using the concate of summary  and numerical value for one particular field of the ticket as we have all the summary  and field different  for each ticket. as the copy ticket has all the field values and sumarry same. its stright forward to inner join them in SQL 

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2020

Hello @Yellalingh Margonda

Thank you for reaching out.

I understand you are trying to identify and make visible what is the original ticket (In project A) from where the new issue (in project B) was copied from. Is that correct?

If you are using the conventional Clone functionality of Jira, Jira will automatically create a link between the original and cloned issue using the pre-existing link type name 'Clones'. That being said, you can collect the issue key of the original issue by using the REST API call below:

Jira Server:

yourdomain.com/rest/api/2/issueLink/{linkId} 

Jira Cloud:

https://yourdomain.atlassian.net/rest/api/3/issueLink/{linkId} 

Now, if you are using a different method to copy your issues, you will need to provide us with more details about the used method so we can better understand how you could collect this information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events