Assign a JIRA issue via a Webservice

Hello

I have an urgent requirement to Assign a JIRA issue by completing the Assignee and Comment fields via a Webservice.

I normally access my JIRA issue by login via a URL link such as :

https://theglobaldraw.atlassian.net/browse/DBRPT-1948

Manually click on Assign Button, complete the Assignee and Comment fields then click on the Assign Button to save.

Can anybody help with the JIRA Webservice api's I need and authorised login. So I can programtically perform these actions.

Kind Regards
Ade

1 answer

You can use curl command or CLi clients or python rest client for JIRA - https://jira.readthedocs.io/en/master/index.html 

Hi Tarun

My JIRA test issue is :

https://theglobaldraw.atlassian.net/browse/DBRPT-1953

I tried the curl command to update the Issue Comment :

curl -D- -X GET -H "Authorization: Basic YWRlLmFkZWtveWFAc2ctZ2FtaW5nLmNvbTpHYW1pbmcxMDA=" POST --data {"body": "This is a comment regarding the quality of the response."} -H "Content-Type: application/json" https://theglobaldraw.atlassian.net/rest/api/2/issue/DBRPT-1953/comment

This command failed can you let me know the correct URL and correct curl command please?

Regards

Ade

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 29m ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

8 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you