The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
  • Community
  • Q&A
  • Jira
  • Questions
  • How to disable atlassian-wiki-renderer in scriptrunner/behaviour through script for specific fields

How to disable atlassian-wiki-renderer in scriptrunner/behaviour through script for specific fields

Dhananjay Kale
Contributor
February 13, 2021

Hi,

I would like to disable Wiki style renderer for Description or some other fields through scriptrunner/behaviour for specific projects.

We have scenario where the field configuration is default for all projects so we can't disable renderer as it will affect all projects.

So we need to disable it through scriptrunner.

Please help us with this issue.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 14, 2021

Don't do it this way.

This is exactly what field configurations are for.  Use them, don't kludge something in.

Even if you did it with Scriptrunner, you'd find it doesn't work the way you think, it will be inconsistent, with some places rendering the fields differently to others for the same data.

So, don't.  Use the field configurations as they are intended to be used.

Dhananjay Kale
Contributor
February 16, 2021

Many thanks Nic :) . Will go with the field configurations as there no way.