Change states another issues
My issues have a custom field - state (new, run, pause, close).
Can i get all issues, assigned to the user whith state run?
For example pause all another issues in all projects, when issue run
Can i get all issues, assigned to the user whith state run?
For example pause all another issues in all projects, when issue run
Please sign in to leave a comment.
To output all issues with state Run assigned to the user you may use following query:
But example you actually mentioned doesn't clarify the case. Could you please provide more details?
I want the user at any one time only worked on one issue. If he forgot to change the status of a old issue on the "pause", and start the second issue, the workflow would change the status of the old issue on the "pause" automaticaly.
example:
when State.becomes("Start")// get all issues, but not this issue whith State Start and change to Pause. How?
}
for each notMyIssue in loggedInUser.getIssues({savedSearch: Reported by me}, "for: -me") {
notMyIssue.Assignee = loggedInUser;
}
I think the question is closed