Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Search result doesn't have Sub tasks which are created in transition

bgu March 30, 2015

We have a post function to create sub tasks. It works OK except the JIRA re-index. The search result doesn't show the new created sub tasks until do a system re-index.

Map fields = new HashMap();
fields.put("projectId", currentGenericIssue.get("project"));
Issue subTask = issueManager.createIssueObject(currentIssue.getReporter(), fields);
subTaskManager.createSubTaskIssueLink(currentIssue, subTask, user);

Can you please help?

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2015

Your post function needs to index the issues it creates, as the workflow is only aware of the current (parent) issue and can hence only re-index that as it runs.

bgu March 31, 2015

Thank you, Nic. The problem is solved.

TAGS
AUG Leaders

Atlassian Community Events