Custom GPT action to connect to Jira project or Confluence?

Hello is there a way to connect via actions to Jira or Confluence project so you can query that and get responses. I have tried many times to create some action to connect via API, but no luck and I can’t find much information how to work with that.

You’ll have to write custom code to do this using actions https://platform.openai.com/docs/actions/introduction