Forums

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

Default value on Custom field

Daniel Juravski
Contributor
June 28, 2018

Hi all,

I have customfield_1 and customfield_2.

When the user creates an Issue, it filled the customfield_1 with some value x. How can I (On creating the issue)  set the value of x on customfield_2 ?

Thank you !

3 answers

1 vote
Tarun Sapra
Community Champion
June 28, 2018

Hello @Daniel Juravski

You can do that using Script runner plugin to update the second custom field on the post-funciton of the transition or you can also use the "behaviour" module of the plugin which uses JS to update the second custom field value on the create screen itself.

0 votes
Alexey Matveev
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.
June 28, 2018

Hello,

If you are on Cloud, there is a post function called Copy Value From Other Field. 

In Jira Server/Data center you need to use an add-on like Power Scripts, ScriptRunner, Automation for Jira.

0 votes
Alana Fernando
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.
June 28, 2018

hi @Daniel Juravski

Seems like you try to set a default value on creation for custom field 2.

Refer below document.

 

hope this helps! 😊

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events