Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Jira Login through Python API cause abnormal activities

luqueli June 23, 2021

Hi everyone,

I am trying to start buliding a program to download data from projects which are runs on Jira. But after i ran the login using code below

from jira import JIRA
jr = JIRA('https://jira.xxxxxxx.com', basic_auth=(my_user_name, my_pswd))

my activities log shows I had updated a lot of tickets' [start date] and [end date] fields at the same time, which clearly i haven't done. I wonder what is the problem here? 

 

1 answer

0 votes
Mohamed Benziane
Community Champion
June 23, 2021

Hi,

Did you only run those two line ? Because with this code you're just connecting to your instance.

luqueli June 23, 2021

Hi,

Yes, I did, exactly. That is confusing me.

I tried those two lines 3 time after I post this question. Nothing happened!

FYI can i find the activity log details which includs the ip etc. If i could where to look for the informations? 

Mohamed Benziane
Community Champion
June 23, 2021

No you cand find which IP you used to log in Jira. You can find on the changelog what you did on every issue, but you need to get all issue your work on to be able to find the history and what you did.

https://docs.atlassian.com/software/jira/docs/api/REST/8.16.2/#api/2/issue-getIssue

The expand param is used to include, hidden by default, parts of response. This can be used to include:

  • renderedFields - field values in HTML format
  • names - display name of each field
  • schema - schema for each field which describes a type of the field
  • transitions - all possible transitions for the given issue
  • operations - all possibles operations which may be applied on issue
  • editmeta - information about how each field may be edited. It contains field's schema as well.
  • changelog - history of all changes of the given issue
luqueli June 23, 2021

Thank a lot, Seems  I am not able to find what exactly happened

Suggest an answer

Log in or Sign up to answer