Originally asked by Jose Lobo on 30 June 2021 (original question)
In GitHub, I want to see the issues associated to an epic. These epic values would come from Jira “Epic Name” field.
I want to send it to the Github “labels” field. However, the “label” field in Github is already populated with values
Is it possible to add a a new value to these labels with a preened like “EPIC-{Epic Name}” to differentiate the epics from common labels?
Also without deleting the already existing labels
Comments:
Ben Paz commented on 01 July 2021
Jose, Thanks for opening the question on my behalf.
1) Is the following possible?
For Jira to Github issue sync, the mapping should prepend the Jira epic name with “EPIC-”. The prepended name already exists in Github as a label.
Epic Example:
Jira: “Feature1”
Github: “EPIC-Feature1”
For Github to Jira issue sync, the mapping should find the label prepended with “EPIC-” and remove that prepended text. The remaining text should be mapped to the Jira issue’s epic name.
2) Is it possible for an issue sync to check if the epic name exists in the other system (Jira or Github)? So if the epic name does not exist then create the epic name for that issue sync. This is the scenario desired: In Jira, a user creates a new Epic, “Feature2”, and attaches to an issue. An Exalate sync is performed. Before, the mapping is completed, a query checks for the Epic name , “EPIC-Feature2” in Github and finds that it does not exist. Then the label “EPIC-Feature2” is created and then the issue is sync. Does this work in the reverse direction also.