All Questions
Tagged with atlassian-python-api python-3.x
7 questions
1
vote
1
answer
912
views
How to Retrieve Lines of Code Changed in a Bitbucket Pull Request using atlassian-python-api?
I'm working on a project and using the atlassian-python-api to interact with Bitbucket. I'm trying to retrieve the lines of code changed in a pull request, but I'm unable to find a specific function ...
0
votes
3
answers
1k
views
Confluence REST API - HTTPError: 404 Client Error... appended `rest/api/content/<page_id>` at end of URL
Goal: Establish connection to Confluence page, via. atlassian-python-api==3.41.1.
Configuration:
Username - e-mail address
Password - API key (regenerated many times)
Permissions:
Contacted admins
...
1
vote
0
answers
897
views
How do I use a pytest fixture to mock a child class's inherited methods with classes as properties while maintaining the API contract using autospec?
How it started
I'm testing a class, ClassToTest, that makes API calls using atlassian-python-api. The tests are going to ensure that ClassToTest performs correctly with the data it gets back from the ...
3
votes
2
answers
7k
views
Get page id of a confluence page from its public url
How to get a Confluence page_id given a page_url. For Eg:
If this is the Display URL: https://confluence.som.yale.edu/display/SC/Finding+the+Page+ID+of+a+Confluence+Page
I want to get its page_id ...
1
vote
1
answer
1k
views
converting utc to est time in python
I have two dates, start date and end date, where both needs to used in google tag manager in EST timezone using python.
Currently when I fetch the dates from jira using api, I am getting in the UTC ...
2
votes
1
answer
393
views
Setting a commit message / update comment when editing a page with Atlassian Confluence Python API
I am using the atlassian-python-api to update a page as described in the documentation:
from atlassian import Confluence
conf = Confluence(url=srvr, username=usr, password=pswd)
page_id = '12345'
...
3
votes
1
answer
8k
views
access confluence page via python script
I need to access a Confluence page via python script, but although I found some examples online, I wasn't able to do it.
Here are a few attempts:
import requests
urllogin = 'https://myorg/confluence/...