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
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.