POST api/Tickets/LinkJiraTickets
Create links between ticket and Jira's tickets
Request Information
URI Parameters
None.
Body Parameters
LinkJiraTicketsPostName | Description | Type | Additional information |
---|---|---|---|
JiraId |
ID of JIRA configuration |
string |
None. |
TicketId |
ID of the ticket |
integer |
None. |
JiraTickets |
Jira's tickets |
Collection of JiraTicket |
None. |
Request Formats
application/json, text/json
Sample:
{ "JiraId": "40dc4a39-2d2f-45d1-8bb5-9040593dfa28", "TicketId": 123, "JiraTickets": [ { "Id": "Test-11", "ProjectId": 1 }, { "Id": "Help-22", "ProjectId": 2 } ] }
application/xml, text/xml
Sample:
<LinkJiraTicketsPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <JiraId>40dc4a39-2d2f-45d1-8bb5-9040593dfa28</JiraId> <JiraTickets> <JiraTicket> <Id>Test-11</Id> <ProjectId>1</ProjectId> </JiraTicket> <JiraTicket> <Id>Help-22</Id> <ProjectId>2</ProjectId> </JiraTicket> </JiraTickets> <TicketId>123</TicketId> </LinkJiraTicketsPost>
Response Information
Resource Description
IHttpActionResultNone.