For my thesis, I need to fetch data from Confluence and Jira as up to date as possible, ideally right after it's creation/it has been updated.
I know about the REST API, and I have no problems fetching data in general.
This question is more about how I can find out which data has changed/created and then get it from the API.
Because most of the questions in this forum circle around "how to fetch data in general", I have neither found a solid workflow for this, nor an API functionality.
I would keep track of the times that you get data from the REST API. Then simply query the API using CQL (for Confluence) or JQL (for Jira) based on the last modified date being greater than the last time you checked.
However, if you want to know when data has changed via a push notification rather than having to poll it you should look into WebHooks. Jira supports this, but Confluence does not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already thought of that solution - it is by far the easiest approach to just fetch the data regularly, as you proposed.
It would be cool if there was a more elegant approach, but this will work, too.
Thanks for the answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Definitely, for Jira WebHooks would be the best way. It is a push notification where Jira tells you when something has changed. Unfortunately, Confluence doesn't have it.
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.