Hello,
We are currently running some applications that interact with Jira Server API using Python. We use primarily webhooks from Jira and react to events using Python OoO with the Jira module.
We will be transitioning to Jira Cloud soon and want to know how much Python code if any has to be changed to make this compatible with Jira Cloud.
Welcome to the Atlassian Community!
Where are you writing and running this code? Your question is not explicit on this, but I think your answer is going to be "outside Jira, on another system, over the REST API". But I don't want to waste your time with an answer for external system if you're actually doing stuff in Jira.
Server/DC and Cloud work very differently and it is very likely that your python won't work at all (complete redesign) if you are doing it inside Jira.
If it is calling the REST API from the outside though, most of it is likely to be fine - Cloud has 3 versions of the external REST API, and ideally, you would update your code to use version 3 (don't use version 1, it's deprecated, going away, and some of the calls already don't work properly), but you should find that your code is mostly good for version 2 - it's very similar to the version 2 you've probably written for on Server/DC. The functions are similar enough that you won't need to be changing what data you are sending, you won't need to rewrite much beyond the URLS your code hits.
Thank you for the reply. Yes, is calling the REST API from the outside, we mostly use jira webhooks and have external code functions listening for events from Jira and the function perform an action based on the event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The same applies if I'm using the JIRA Library for Jira Python Integration? The same external python code I'm using can be used?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.