How to change 'Create' button Value to 'Create Draft' using JS in announcement banner?

I am trying to change the value of 'Create' button while creating an issue to 'Create Draft'. This is the snippet from page source that I intend to edit. 

<input accesskey="s" class="aui-button" id="issue-create-submit" name="Create" title="Press Alt+s to submit this form" type="submit" value="Create">

Thanks!! smile

2 answers

0 votes

hi there,

Do you have to do it through JavaScript? Are you trying to condition it or something?

You could always use the InProduct translation for JIRA plugin to "translate" Create Issue to Create Draftsmile

Cheers

Hi Matheus.

No condition, I just want the button to say 'Create Draft' instead of 'Create'

I am using InProduct translation but I am not able to edit the value for this button. Here is what I see when I try to do it:

image2015-4-20 17:5:40.png

Do you mean the Create Issue button in the top, or in the form itself?

Hi Matheus, No, it's the one at the bottom of the screen when you enter the values in fields and click on Create to submit the issue. Thanks, Shreya

This is the button that need to be changed to Create Draft

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,707 views 17 21
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