mrts / ask-jira Goto Github PK
View Code? Open in Web Editor NEWPython app that uses the Jira API for aggregate and complex tasks and reports
License: MIT License
Python app that uses the Jira API for aggregate and complex tasks and reports
License: MIT License
Hello,
I'm using this tool since years now and it was always very helpful! ๐
Unfortunately I wanted to run use it again today and had below issue with attachment transfer:
I have also tested this with the lasted master version and same picture there. If I "comment out" _add_attachments() then all works. Any ideas what the reason could be?
Regards,
Martin
Hi,
We have started using it to migrate information between JIRA instances and we think it is great!!!
But when using
def component(self, id):
All attributes are ok, except leadUserName which is always None.
Just for your information, I have seen JIRA REST API returns component lead information not as a simple field but as an structure...
[{"self":"https://jirainstance.dddd.com/rest/api/2/component/14223","id":"14223","name":"OKxxxxxxxxxxxxxx","description":"xxxxxxxxxxxxxxx ","lead":{"self":"https://jirainstance.dddd.com/rest/api/2/user?username=ASSDDD","key":"assddd","name":"ASSDDD","avatarUrls":{"16x16":" ...avatarId=10111"},"displayName":"User name","active":true},"assigneeType":"...
Please, could you check it?
Thank you in advnace.
Hi,
I have been trying to replicate custom fields but could not achieve it.
I was thinking of something like CUSTOM_FIELD = ('customfield_10300', {'value': 'customfield_12345'}). Is it implemented ?
If not, do you know a way to do it (I guess it is quite easily feasible in code) ?
Thanks, Antoine
Hi,
running ask-jira.py throw me AttributeError
(venv) user@deb82:~/ask-jira$ ./ask-jira.py projects
Traceback (most recent call last):
File "./ask-jira.py", line 111, in <module>
_main()
File "./ask-jira.py", line 66, in _main
argparser = _make_main_argument_parser()
File "./ask-jira.py", line 78, in _make_main_argument_parser
"commands:\n{0}".format(_list_local_commands()))
File "./ask-jira.py", line 98, in _list_local_commands
sorted_globals.sort()
AttributeError: 'dict_items' object has no attribute 'sort'
Do you know how to fix this?
Kalle
D:\jira-python\ask-jira>python ./ask-jira.py export_import_issues_for_jql "project = TMOVE AND issuetype not in subTaskIssueType
) AND issuetype != Epic ORDER BY key ASC"
About to export/import 50 issues
Exporting TMOVE-134 Traceback (most recent call last):
File "./ask-jira.py", line 133, in
_main()
File "./ask-jira.py", line 90, in _main
command(jira, args)
File "./ask-jira.py", line 59, in export_import_issues_for_jql
exportimportconfig, args.jql)
File "D:\jira-python\ask-jira\lib\export_import.py", line 15, in export_import_issues
_make_new_issues(source_jira, target_jira, issues, conf, result, None)
File "D:\jira-python\ask-jira\lib\export_import.py", line 24, in _make_new_issues
fields = _get_new_issue_fields(issue.fields, conf)
File "D:\jira-python\ask-jira\lib\export_import.py", line 66, in _get_new_issue_fields
value = getattr(fields, name)
AttributeError: type object 'PropertyHolder' has no attribute 'labels'
===============================================================
Thanks,
Sahidul
Thanks for the ask-jira.
Their seems an typo error in readme Export/import.
in exportimportconfig.py
JIRA: As per code working this is a Target server configuration, but currently mentioned as Source
also please add a detail saying, Source Server Configuration will be picked from jiraconfig.py
Thanks & Regards,
KK
Very new to Jira & this library. And similarly a beginner in python.
I am trying a basic search.
issues = jira.search_issues(cfg.EpicSearch,maxResults=10000)
print(issues)
print (issues[5])
print (issues[5].fields.comment)
And getting the above error. Python version is 3.6.5 on windows10
I have the problem that our JIRA is very old and we need to move historical tickets, so we would like to be able to set a default assignee for the user when there is not one in the list. Since this causes the job to abort
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.