Can we hide system field like comment , attachments on workflow transition using Groovy, Behaviour etc ?

is it possible to hide system fields like comment , attachment etc on workflow transition using behaviuors or any other scripts ?

Thanks in advance,

Sumit

2 answers

1 accepted

1 vote
Accepted answer

I have used behaviour plugin to hide comment field during workflow transition and it works as expected.

Hi Sumit, how have you done that? I mean is there a need to write a script for it or there are some config options that I'm not seeing? Need to hide a comment field on just one particular transition screen. Thanks a lot.

yes this can be easily achieved using behavior plugin on workflow transition. You can also try to use properties in workflow to disable the comment on specific transition but i like behaviour as a good option

Sumit, can you explain how exactly you do this using Behaviours? Do you need to use a custom script?

1. As for fields - you can just remove the field from the transition screen and user will not be able to use it during transition.

2. As for comment - you can add transition property that blocks permission to comment:

jira.permission.comment.user=denied

the same for attachment, but you can just don't add attachment field on transition screen. See details on https://confluence.atlassian.com/display/JIRA/Workflow+properties

it doesn't work on transition screen.

I tried adding the properties like jira.permission.comment.user=denied

Jira 6.1.7

Thanks

Still have a question about how to work with system attachment field using Behaviour Plugin ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,535 views 15 21
Read article

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