Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Simple Jira Login through Python API cause abnormal activities

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

Hi,

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

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? 

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

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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you