Jira V6.0+ creating a project over REST API -


i've got problem: i'm working on external webinterface company , use atlassians jira project issue , tracking method. trying connect our webinterface on rest api. after short research found out, atlassian never implemented possibility create new jira project on rest api. well, isn't true, they've implemented in actual version (7.0) because migrated other 2 apis 1 rest api. comes problem: unable upgrade version 6.4.4 version 7.0.0. after second search found workaround problem. can find here:

the real problem workaround isn't working or i'm doing wrong. i've tried request , given arguments parameters , on normal post method json body in it. what's problem?

here more informations: when try on get, receive normal response url (it returns list available templates). when try on post json body (this way normal method normal functions of rest api) http-error 415 unsupported media type.

it nice if test workaround 6.0+ version of jira

so after months got myself. have make post request following header fields:

content-type=application/x-www-form-urlencoded; charset=utf-8 authorization=basic {set credentials base64-string: "user:password"} x-atlassian-token=nocheck 

once done can set post-parameters following:

name=name of project key=key of project lead=leader of project keyedited=true (don't change it!) projecttemplatewebitemkey=com.atlassian.jira-legacy-project-templates:jira-blank-item (don't change it!) projecttemplatemodulekey=com.atlassian.jira-legacy-project-templates:jira-blank-item (don't change it!) 

hope helps someone, jira weird in cases :/


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -