Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide Message custom field when issue change status

oks December 14, 2018

Hello, 

I have created Message custom field (filed whose default value is displayed as HTML) and need to hide this field /or it's contents from all screens when the issue will arrive to status "In Progress" .  I have try to do it with script in "Post function" on Workflow transaction but it does not work with this type of field (the same script worked for the simple text custom field). 

Is somebody know if there is any possibly to do that in JIRA ?  

Thank you in advance. 

1 answer

0 votes
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 Leaders.
December 15, 2018

A post function can't do anything with a message field - there's no data in the field for it to do anything with.

Jira does not have anything built in for arbitrarily hiding fields, so you will need code to do it.  Behaviours in the Scriptrunner add-on is a good way to do it, saving you have to write all the code manually.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events