How do you make attachment required on issue creation only?

In this case, we use an Issue Collector mostly to create issues, not that it matters much. I understand the reasoning behind preventing this in general (see https://jira.atlassian.com/browse/JRA-5935), but as the last comment states, it would be great to have this required for create only. Seeing that that issue was 2 major versions ago, I was hoping there would be a solution by now.

thanks!

3 answers

Hi Jonathan,

you can make Attachment required on Create screen by create Validator(Required field on Attachment) on Transition(Click on transition in workflow designer and add Validator- Required field and add Attachment).

I hope you have to enable free plugin Jira Suite Utilities when you have disabled it.

Hi Michal,

 

I have done the steps what u have been described in ur answer but it will not works for me.

whr i will get this JIRA Suite Utilities plugin

 

I think there are two solutions

The first solution is to use the jjupin plugin (SIL) or jss plugin (JPython) to write some script in the validor when you create issue

The second solution is to use javascript to check value of field attachement in the screen creation

Thanks for the replies! I'll try the different methods and report back (and accept).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: https://www.icloud.com/keynote/0RyJ4VEdNUpjDpGfMhfZx9fEg#Confluence_Security_Advisor More details: https://co...

35 views 1 0
View post

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you