Hi all,
I am new to atlassian community.
Here's what I am trying to do.
writing a python script to:
- open issue pages which are created in JIRA from last 90 days
- open attachment of each issue and read the .txt and ,csv file
- collect all the data into one big .txt or .csv file
- finally attach it to a new ticket and assigning it to my self.
Can someone please confirm if the whole process is even achievable ?
If yes, hints/pseudocode would be great.
Cheers!
Defintely possible.You can easily use the REST interface:
https://docs.atlassian.com/jira/REST/server/#api/2/attachment-getAttachment
My python is too weak (well, non-existent) to convert the curl based calls in there into actual code, but hopefully you can see where I'm going with it!
(Apologies for the attempts at formatting this - I forgot that the bullet points don't work on this Lithium platform, and I've tried to redo it manually)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.