Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am not able to find Attachment under add field option in Scriptrunner Behaviours

venkatesh_rajput June 14, 2023

I want to put a validation that if something gets uploaded in the attachment field I want to make a few custom fields hidden plus make them not required but I am not able to find "Attachment" under add field option in "Behaviours" Scriptrunner

1 answer

0 votes
Florian Bonniec
Community Champion
June 14, 2023

Hi @venkatesh_rajput 

It do not seem possible to do it with a Behaviour

https://productsupport.adaptavist.com/browse/SRJIRA-52

 

Regards

venkatesh_rajput June 14, 2023

Hi @Florian Bonniec

Is there any other way to achieve what I want?

Florian Bonniec
Community Champion
June 14, 2023

You could set the fields are optional, but create a validator in the workflow to set them required if no attachments. You will not be able to hide/show them.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events