Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Problem with DVCS connector - HTTP Response code 415 Edited

I am using JIRA 8.5.3 with Jira DVCS Connector Plugin - 5.2.6.

I created the DVCS connection with GitHub Enterprise. When DVCS connector is added in JIRA, it created hooks in GitHub for each repository.

Hooks were created with following configuration:

Payload URL - https://<my server url>/rest/bitbucket/1.0/repository/198/repo/sync

Content-Type - "application/x-www-form-urlencoded"

But with this configuration GitHub is not able to send push information to JIRA. It fails with error 415 (unsupported content type).

I found two ways to fix this:

Option 1 - Update payload URL to remove "repo" without changing the content-type i.e. make it https://<my server url>/rest/bitbucket/1.0/repository/198/sync

Option 2 - Keep the payload URL as default set by JIRA but change the content type to "application/json"

After making any of the above change, payload gets delivered successfully. But this cannot be right solution to do for all repositories.

This seems some problem with the DVCS connection plugin 5.2.6.

Has anyone else faced this ? What is the solution ?

1 answer

0 votes
Mahtab Atlassian Team Jan 16, 2020

Hi Ankur and team,

This is a known issue and we have an open bug report for this: JSWSERVER-20298: "DVCS creates incorrect webhook payload URL resulting in 415 error". 

This issue is affecting Jira versions released after July 2019.  The workaround provided is to "Remove "/repo" from the payload URL manually, webhook work properly." which you are already aware of.  

We encourage you to add yourself as a watcher to the bug ticket to be kept informed of progress going forward. That way, if the ticket is updated by our development team, you'll be notified via email. There's a number of factors that determine what gets fixed and when - For more details on how Atlassian handles and prioritizes bugfixes, please refer to the Atlassian Bug Fixing Policy.

We sincerely apologize for any inconvenience caused and seek your kind understanding.

Kind regards,
Mahtab Shahlori | Atlassian Support

Thanks Mahtab for acknowledging the issue. I have added myself as a watcher. Is there any timeline by when the defect will be fixed ?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

167 views 6 7
Read article

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