Questions tagged [atlassian-python-api]

This tag should be used for posts that involve the use of the atlassian-python-api. The API provides a simple python interface for interacting with Atlassian products (Jira, Confluence, BitBucket, etc.). Since it is a wrapper for the general Atlassian REST API with a different syntax and capabilities, posts specific to the atlassian-python-api should be identified using this tag instead of inaccurate tags like `confluence-rest-api` or `jira-rest-api`.

The atlassian-python-api is a Python wrapper for the Atlassian REST API and provides modules for different Atlassian products:

  • Jira
  • Confluence
  • BitBucket
  • Bamboo
  • Jira Service Desk
  • Xray

The documentation for the different modules is available here.

21 questions
0
votes
1 answer

How to convert a JIRA task to a subtask from Atlassian Python API?

I'm trying to convert a JIRA issue to a subtask That's what I'm doing: converted_to_subtask = jira.update_issue_field( "FSTORE-326", { "issuetype": {"name": "Sub-task"}, "parent": {"key": "FSTORE-324"} }) Alas, I get an error…
Felix
  • 3,351
  • 6
  • 40
  • 68
0
votes
1 answer

atlassian-python-api for Confluence: get_page_by_id works, create_page doen't

The message is Could not create content with type page The connection works with get_page_by_id, and of course I have all privileges on the space and the server. append_page works also. Just create_page does not work. Here's the code I'm trying to…
Francis
  • 563
  • 1
  • 7
  • 14
0
votes
0 answers

List of all commits to bitbucket repo using python script

I am trying to figure out how to get a list of all commits made to a bitbucket cloud repository over a given timeframe using the Atlassian Python API (https://atlassian-python-api.readthedocs.io/index.html) According to this, there is a…
0
votes
1 answer

Jira API django connection adapters error

Not sure what this django error is trying to tell me. Using a library called atlassian-python-api. If I hardcode that URL into the jira object, a request is sent to the Jira api and there is no error. If I do it via postman and a viewset, it errors…
godhar
  • 1,128
  • 1
  • 14
  • 34
0
votes
1 answer

How to fetch created and updated status of JIRA ticket with Python API?

I'm trying to fetch the created and updated values from tickets in JIRA. I'm able to pull issues using the following snippet (URL and credentials redacted): from atlassian import Jira import pandas as pd import time import glob jira = Jira( …
Berimbolinho
  • 465
  • 1
  • 6
  • 16
0
votes
1 answer

Jira Data Extraction Rest API

I want to extract data using python rest api, but it only allow 200 records at same time is there any way to get all data in Jira que ? Guessing an export to CSV then pull into excel for reporting might work? Thanks!
1
2