• Community
  • Products
  • Jira
  • Questions
  • Issue transition from Resolved to Reopened why do i need to use actionid of In Progress you think use id of Reopened?

Issue transition from Resolved to Reopened why do i need to use actionid of In Progress you think use id of Reopened?

steve labar June 27, 2012

I have a plugin and i'm simply trying to take a recently resolved Issue and Reopen it. I took a look at the workflow scheme chart and from the diagram it looks like in order to go from Resolved to Reopened you would use the Status id of Reopened. However, when I do that I get the following error:


actionid = 4
Error Messages: [It seems that you have tried to perform a workflow operation (Start Progress) that is not valid for the current state of this issue (PP-14). The likely cause is that somebody has changed the issue recently, please look at the issue history for details.]

However, when I pass the Status id of In Progress which is 3 it works? I'm just trying to understand why the In Progress status is the one used?

TransitionValidationResult upateResult = issueService.validateTransition(user, issueID,actionID,issueInputParameters);
			if(upateResult.isValid())
			{
				IssueService.IssueResult  result =  issueService.transition(user, upateResult);
                logger.info("attempted to reopen issue the result was: " + result.isValid());
				return result.isValid();
			}

1 answer

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2012

Action id is different from status id. If you look at the workflow XML or in the workflow steps by clicking on steps instead of the workflow designer, you will find an id for the transitions.

For reopen issue, it is 3 and for Start progress it is 4. Stop Progress 301 and so on..

steve labar June 27, 2012

Thank you. I looked around and had trouble finding that!

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2012

Suggest an answer

Log in or Sign up to answer