Hi,
I'm using v4.0.30319 SDK version
I have this following code, where I make some changes in an issue.
try
{
Atlassian.Jira.Issue iss;
//here incorrect change like: WorkflowTransitionAsync(iss, bUpdate); for example
iss.SaveChanges();
}
catch (Exception err)
{
}
If the changes on the issue are incorrect, when I try to save them, I have an exception.
But this exception is unhandled (System.InvalidOperationException: 'Workflow action with name 'Resolve Issue' not found.'). As the exception is not unhandled in the code (doesn't go in the catch() section) , the program crash.
Would anybody knows how to handle the exception?
Thanks for your help,
Philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.