In Behaviors Plugin 0.5.3 for Jira 5.1.8, I am unable to make reporter field as Read-Only?

Hi All,

I am upgrading my Jira from 4.3.2 to 5.1.8. I have my reporter field as read-only field for couple of transitions.

I wanted to make this reporter field as read-only in Jira 5.1.8 also. But when I install compatible version for Jira 5.1.8 i.e. Behaviour Plugin 0.5.3. then reporter field or any other user picker is not made as read-only.

This is a Bug for Behaviour Plugin. Can anyone please tell me the workaround for this?

Any help will be appreciable...

Thanks in Advance.

Renu

2 answers

1 vote
Mizan Community Champion Jan 22, 2013

What i would suggest you is write a groovy script which will add a helptext to the reporter field using setHelpText(String helptext). the help text will be the below javascript . You will need to escape it as a string :) like this you can make the field readonly only on transitions you want

<script type="text/javascript"> AJS.$(document).ready(function(){ AJS.$("#reporter-field").attr("disabled",true);});</script>

Hope this helps

Hi Mizan,

Thanks for replying.

I checked your script but sometimes it is not working.For some screen it is hiding reporter field.

Can you please tell why it is happening? & I want this for some transitions if I apply it on description it will be applied globally.

Thanks & Regards,

Renu

0 vote

You've already reported this as https://studio.plugins.atlassian.com/browse/JBHV-184 ... ?

Reporting it in multiple places is not going to make me look at it any faster.

Hi Jamie,

I know that you can not look into it faster. but I just wanted some workaround if anyone else knows it that is why I put this on the answers.

Because my client wants immediate solution for this.

If you could suggest any solution for this then it would be great for me.

Thanks & Regards,

Renu

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,319 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot