I recently updated a method we have that creates an Issue Type Screen Scheme in our plugin. Now it creates 2 Screen Schemes and we want to associate an existing Issue Type Screen Scheme with both, as such:
We are using something like the following to update it
// add scheme to issueTypeScreenScheme IssueTypeScreenSchemeEntity entity = new IssueTypeScreenSchemeEntityImpl( issueTypeScreenSchemeManager, (GenericValue) null, fieldScreenSchemeManager, constantsManager); tcmEntity.setIssueTypeId(issueTypeId); // an entity can be for all IssueTypes (-> null), or just for 1 tcmEntity.setFieldScreenScheme(screenScheme); issueTypeScreenScheme.addEntity(entity);
Do we need to execute anything else after this? (refresh, store, etc)
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events