Answer by Daniel Carvajal on 06 April 2021
Hi Wade
You may find Azure’s Rest calls in the following document: https://docs.idalko.com/exalate/x/lwt1Aw
Let me know if I understood this correctly and this is what you require for your setup, if you require Jira’s rest calls please specify if its for Jira on premise or Cloud.
Regards,
Daniel
Comments:
Daniel Carvajal commented on 05 April 2021
Hi Wade
In order to sync 2 already existing issues/work items you can use the Connect operation which allows you to specify the relation on both ends. More information on that function here:
https://docs.idalko.com/exalate/x/MgBf
Let me know if this would work on what you are trying to achieve or if you could elaborate more on why/how you would like to have the API function set that would help us understand your use case better.
Kind regards,
Daniel
Wade Hephner commented on 05 April 2021
Hello Daniel, thank you for your quick reply,
I have read that document that is what I would like to do, but I need to be able to do it programmatically with an API call. I have all the data that i need already, I just need a way to call that API to make the connect happen.
thanks,
Wade
Wade Hephner commented on 06 April 2021
Hello Daniel,
Thanks for that information,
I do know how to make api calls to azure devops and to Jira cloud, I am currently doing that, I am looking for a way to make an API call to exalate to perform the connect feature to connect 2 existing work items, one from Jira and one form azure devops.
The manual way will not work for our use case.
thanks,
-wade
Wade Hephner commented on 08 April 2021
Hello Daniel, I have not heard back for a few days and was wondering if you have and new information about this ?
thanks,
-wade
Daniel Carvajal commented on 09 April 2021
Hi Wade
We believe the approach would be to use servicehooks to implement the functionality, you may find how to set this up in this guide: https://docs.idalko.com/exalate/x/ZgLBAg
However Im still investigation the connect portion of this setup, Ill update as soon as possible…
Regards,
Daniel
Wade Hephner commented on 09 April 2021
Thanks for that Idea Daniel, I did look into that option as well, however I am not sure how a trigger will work to connect a work item from Jira to azure devops I thought I would need to connect them first, I will await your findings on the connect action.
thanks,
-wade
Wade Hephner commented on 09 April 2021
I think what we really need is for you to expose the api that is being used by the connect function.
Daniel Carvajal commented on 13 April 2021
Hi Wade
Unfortunately this is something that presents a security concern for our application, hence this API is not available at the moment, a workaround would be to map the issues using the issue.id assignment. If in the incoming processor you assign for example:
issue.id = "100500"
Where 100500 is an id of an existing issue,
Exalate is not going to create a new issue, but instead it’s going to connect the remote issue (replica) to that issue 100500.
And if you want to sync multiple issues you can use a switch or if/else statement to have the proper association made.
I hope this helps your use case,
Daniel