MantisConnect 1.0a2

Request.IssueGetIdFromSummary Method 

Search for an issue with the specified summary and return its issue id.

[Visual Basic]
Public Function IssueGetIdFromSummary( _
   ByVal summary As String _
) As Integer
[C#]
public int IssueGetIdFromSummary(
   string summary
);

Parameters

summary
The summary to search for.

Return Value

0: not found, otherwise issue id

Remarks

This is useful to allow a software which is automatically reporting issues due to exceptions or whatever reason to check first that the issue was not reported before. And if it was, then it knows the issue id and hence is able to add a note or do whatever with this id. Other applications may decide to delete the issue and create a new one, basically it is up to the client application to decide how to use the returned issue id.

See Also

Request Class | Futureware.MantisConnect Namespace