Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void setCreatedFolders(ApplicationUser user, Issue issue) throws SearchException {
- if (issue == null) {
- return;
- }
- Issue originalBid = getOriginalBid(issue);
- var created = REALIZATION_CREATED;
- var name = issue.getIssueTypeObject().getName();
- // tu daj if name != JiraConstants.ISSUE_TYPE_BID || name != ... tak return
- if (name == JiraConstants.ISSUE_TYPE_BID)
- {
- CustomField cfAttributes = customFieldManager.getCustomFieldObjectByName(JiraConstants.FIELD_ATTRIBUTES);
- Object attributes = issue.getCustomFieldValue(cfAttributes);
- if (attributes == null || isBidDuplicate(issue)) {
- created = OFFER_CREATED;
- }
- }
- issuePropertyService.saveSambaStatusProperty(user, originalBid, created, true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement