Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Exception not handled when SaveChanges in JIRA unhandled: System InvalidOperationException

Philippe Gendreau
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2018

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



1 answer

0 votes
Abid Omer January 13, 2019

hii Philippe 

Did you find anything because I have same issue.

Suggest an answer

Log in or Sign up to answer