jira.client.GreenHopper.rank Not Working

Jon Wynacht January 26, 2014

Hi,

I'm doing an import from our home-grown task tracking system into Jira using the Python API and this call:

jira.client.GreenHopper.rank

doesn't seem to be working. I've got it set up like so:

gh = GreenHopper(options, basic_auth=(username, password))
jql = 'project = MYPROJECT ORDER BY due ASC, priority DESC'
issues = gh.search_issues(jql)

for index, value in enumerate(issues):
if index != len(issues) - 1:
gh.rank(issues[index].key, issues[index + 1].key)

and would expect that my list of issues would then be ranked accordingly, but they aren't.

Am I missing something with that call?

Thanks,

Jon

1 answer

0 votes
Jon Wynacht January 27, 2014

Used the REST API for this. Took some digging but made it happen. Would be nice to have clearer docs for the Agile REST API too.

Suggest an answer

Log in or Sign up to answer