JIRA Python

熙凉 September 14, 2021

Hello, how can I access the API of a step in creating JIRA workflow?

For example, developers need to click 'submit changes' on JIRA after submitting code. How can I get the API related to 'submitting changes'?I want to use Python to realize relevant functions. Do you have any relevant methods or documents?

Thanks in Advance!!

1 answer

1 accepted

0 votes
Answer accepted
Roberto Miasack
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2021

Hi!

 

All development and API information you can find here: https://developer.atlassian.com/

 

Cheers!

熙凉 September 14, 2021

HEllO,

Thanks for that,and

Do you know how to edit multiple statements in this?

jira.transition_issue(issue, '5', fields: {'assignee':{'name': 'pm_user'}, 'resolution':{'id': '3'}})

Can you give me an example? 

Roberto Miasack
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2021

Hello!

 

Try this link: https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-edit-issues-6291632/

Here you have a editing examples.

Basically you need to reference the item key in your call and choose the ID of the fields you need to edit.

 

Cheers!

Suggest an answer

Log in or Sign up to answer