I have some groovy script to create filters, but i need to share with certain roles/groups. How can i share the filters with groovy script or jelly?
Here is my create filter code
JqlQueryBuilder builder = JqlQueryBuilder.newBuilder(); builder.where().project(project).and().addStringCondition("issuetype", Operator.EQUALS, "Issue") Query query = builder.buildQuery(); SearchRequest filtro = new SearchRequest(query) filtro.setName("TEST") filtro.setOwnerUserName(user) SearchRequestService srs= ComponentAccessor.getOSGiComponentInstanceOfType(SearchRequestService.class) srs.createFilter(ctx, filtro,true)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG