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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding github releases to jira

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 

2 answers

3 votes

Hi Akhil,

You can integrate GitHub with JIRA using the DVCS connector.

https://confluence.atlassian.com/adminjiraserver/linking-a-bitbucket-or-github-repository-with-jira-938846899.html

 

-Steven

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 

Like JAK likes this

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. 

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.

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. 

Like Dyego Mota likes this

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. 

Like Dyego Mota likes this

Same request! Has anyone found a solution?

Any updates on this request?

Same need here

Same here too ...

following.

Same here. Would make our release management so much easier.

This would be incredibly helpful for release management.

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

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)

 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you