Hi Showkat,
If I understand your request you would like to edit existing issues including those with custom fields. An example message to update assignee, priority and 2 custom fields for the issue QA-31 would be :
curl -D- -u fred:fred -X PUT --data {see below} -H "Content-Type: application/json" http: //kelpie9:8081/rest/api/2/issue/QA-31 |
example input data
{ "fields" : { "summary" : "CLONE - Testing label stuff" , "assignee" :{ "name" : "harry" }, "priority" :{ "id" : "2" }, "customfield_10010" :[ "asdf" , "centre" , "champs" , "charge" , "confluence" ], "customfield_10071" :[ "purple pants" ] } } |
There are a lot of other great examples of JIRA REST API available from here:
https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Edit+issues
Thanks,
Paul
You most certainly can :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. Paul.,. I did come across the web link..
Just wasn't sure if I am allowed to edit any issues in On demand using this process
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.