Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

2 answers

1 accepted

1 vote
Answer accepted

Hi Ming Ho,

As you can see in the output the errors comes from curl itself. The query doesn't reach FishEye.

* You need to put the content of data in single quotes

* As defined should use POST not PUT

Try this:

curl -u xxx:xxx -X POST --data '{"type":"SUBVERSION","name":"SCM","url":"svn+ssh://","path":"SCM","username":"build"}' -H "Content-Type: application/json"

Hope this works.

Also expect a much more powerfull repository management REST API in FishEye 3.4.


ah yes. Post did the trick.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events