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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

43 views 0 4
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