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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add multiple transforms filter in structure using scriptrunner

Hello Team,

Thanks in Advance.

I want to add multiple filter (quick-filter) in structure.

image.pngI had use below code but it rewrites:

def quickFilter = [
"module": CoreStructureGenerators.FILTER_JQL,
"params": [
(CoreGeneratorParameters.JQL): "status != Closed",
],
"key": 'filter',
"quick": [
"id": "-${structureId}-1",
"name": "Show non-Closed issues"
]
]

// Warning! The existing quick transformations in the structure will be overwritten!
propertyService.setValue(structureId, "quick-transforms", JsonOutput.toJson([quickFilter]))

1 answer

Hello Jaspreet,

For questions regarding non-standard Structure functionality and custom development, please contact us directly at support.almworks.com and we will connect you with our Solutions team for consulting on the matter.

Best regards,
Stepan Kholodov
ALM Works

thanks @Stepan Kholodov i had uploaded the problem, but no-one responding. can you please suggest some function to do , need this solution on urgent basis

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

108 views 0 6
Read article

Community Events

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

Events near you