We are using github as source control and we keep all versions (github tags) in github . is it possible to sync github releases to jira
If you're not afraid to script this yourself, you can do this using
a stub to do this on python 3.7 would then be
(read the above docs before!)
# get git tags
>>> os.chdir( git_folder_local_path)
>>> git_tags = subprocess.check_output("git tag --list").decode().splitlines()
# get existing jira versions (jira_inst is a connected jira-python instance)
>>> jira_versions = [ vers.name for vers in jira_inst.project_versions( proj_name)]
# get missing jira versions
>>> missing_versions = set( git_tags) - set( jira_versions)
# create missing versions (has to be done via API)
>>> headers = {
'Accept': 'application/json',
'Authorization': 'Basic ' + base64_obfuscated_credentials,
'Content-Type': 'application/json'
}
>>> def AddProjectVersion( project, name):
data = { "name": name, "project": project }
req = requests.post( JIRA_BASE_URL + "rest/api/2/version", headers = headers, json = data)
if not req:
raise RuntimeError( "API call failed [{}]: {}".format( req.status_code, req.content.decode()))
return req.json()
>>> for vname in missing_versions:
AddProjectVersion( proj_name, vname)
Hi Akhil,
You can integrate GitHub with JIRA using the DVCS connector.
-Steven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have integrated this connector i can see the github commits, pull requests in jira tickets , but i want to know how we can sync github version releases in jira releases
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akhil,
I'd suggest to check the github plugin:
https://marketplace.atlassian.com/plugins/com.xiplink.jira.git.jira_git_plugin/server/overview
-Steven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't follow where this plugin helps. It looks like Akhil is looking for the "JIRA Releases" which are in the "Release Hub" of JIRA to be auto-populated by git tags as seen by Bitbucket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would like to know this as well. All the plugin seems to do is add a link to my repo on the side bar. I'd like to at least be able to enter a GitHub branch/tag URL into my release notes or a comment field or something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Following this. I would also like to know how can i see Releases from Github in JIRA. We use the new Github - JIRA intergation maintained by Github.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any news on this? I would like to make a release on Github, add the tag to Jira release and tag the tickets on a specific column with that tag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same request! Has anyone found a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any updates on this request?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Following
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.
Same need here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here too ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
following.
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.
This would be incredibly helpful for release management.
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.
this would be helpful because you can manage your tickets in jira, and generate the release info there and then get it into github with a release there with the fix version
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any update on this? Seems like a feature a lot of people are interested in 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should only expect such a feature for Jira Cloud. Atlassian has mostly abandoned feature development for Jira Server and Datacenter.
You might get this solution from github, however.
My script below might be implemented in a github workflow
-> https://community.atlassian.com/t5/Jira-questions/Adding-github-releases-to-jira/qaq-p/738261#M487918
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.
following
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.