Forums

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

Default value for description on one project

katie hargraves September 15, 2020

Hi, I'd like to add a default description into the description field for one project only. 

I used the following Javascript in the 'edit' of the description field in the field scheme: 

<script type="text/javascript">

if (document.getElementById("description").value == "") {document.getElementById("description").value = "foo1 \n\n\n\nfoo2: \n\n\n\nfoo3: \n";

}</script>

It seemed to work, however, even though i used it in a project's own field scheme, it updated the description field for all projects. 

Is there a way to update the default value of the description field for one project only?  

Note : I would rather not use a custom field but if that's the only way, I can do that; just figured there may be an easier way. 

thanks

1 answer

1 vote
Rudy Holtkamp
Community Champion
September 15, 2020

Hi @katie hargraves ,

Out of the box, you can't. But with Automation for Jira you are able to do this. If you have the app / want to install the app, then just ask how to this here.

Rudy

Suggest an answer

Log in or Sign up to answer