Skip to main content
1-Visitor
Nov 28, 2017 7:19 PM UTC
Solved

Change Package Type Implementer

Need the ability to extract Change Package Status for Implementer type so that  I can test the status of the Item's change package to see if it is allowed to be change to the next state. I need to be able to test each and every Change Package ID to test the status if it's value is not "In Prod" then prevent the state from being change to the next state. See the screen shot of the change package tab in this case the rule would prevent the issues state being changed to the next level.

 

Change Packages tab viewChange Packages tab view

 

awalshAnswer
5-Regular Member
Nov 29, 2017 5:01 PM UTC

If you are doing this in event triggers, than you can use the getImplementerChangePackageBeans method from either IssueBean or IssueDeltaBean to get a list of GenericChangePackageBeans with for implementer change packages. Then you can use the getStatus() method on the GenericChangePackageBean to look up the status for each CP. 

1 reply

awalsh5-Regular MemberAnswer
5-Regular Member
Nov 29, 2017 5:01 PM UTC

If you are doing this in event triggers, than you can use the getImplementerChangePackageBeans method from either IssueBean or IssueDeltaBean to get a list of GenericChangePackageBeans with for implementer change packages. Then you can use the getStatus() method on the GenericChangePackageBean to look up the status for each CP. 

Translate