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

Jira webhook to create remote issue via REST

Michele Sacchetti January 7, 2014

Is it possible to create a clone of the issue on a remote jira using webooks ?

I'm trying to create a Pubic -> Private jira issue propagation, i created this on the public one

URL http://jira.private.int/rest/api/2/issue?os_authtype=basic&os_username=myuser&os_password=mypass

Last Updated By Public Jira Admin

Last Updated 08/gen/14 10:49 AM

Exclude details No

JQL status="In Progress"

Events Issue Updated

Transitions No linked transitions.

but , as expected I get a 500 response and nothing is created remotely since the source project/issue has not the same name in both insances

is there a way to create issues into a different project ?

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Michele Sacchetti May 5, 2014

In the end I had to create a custom servlet on the target Jira to receive the webook JSON, parse it and generate the issue (re-posting the parsed one to REST Api)

it would be really usefull having an existing rest call to manage all this... :(

0 votes
christophe.salomon April 17, 2015

Hi Michele,

I am having the same problem. I can't found anything to synchronize 2 JIRA instances. Are you still using your servlet ? Could you share your code with me ? 

Can I install "Sync For Jira" on 2 Jira servers in order to have a full both way synchronization ?

Thanks,

0 votes
Tansu Kahyaoglu April 15, 2014

Hey,

You can try Sync For JIRA plugin. Additional features are coming soon to the plugin but I guess it will work for you out-of-box

TAGS
AUG Leaders

Atlassian Community Events