Forums

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

Copying field data to other field if null

Thue Madsen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2022

Hi, 

We are invoicing some of our time registered on jira issues an part of this we have created a custom field on our jira issues called "DK invoice text" Normally the data of this field is identical to the data in "Summary" but it should be possible to manually change it.

Is it possible to copy the data from "Summary" to "DK invoice text" immediatly after typing in the "Summary" text, then the user can simply type something else in "DK invocie text" if he wants to. 

Another idea is to make a post function and copy the "Summary" text to the "DK invoice text" field, but only if the "DK invoice text" field is empty.

I hope someone can help to solve the problem.

1 answer

1 accepted

3 votes
Answer accepted
Vikrant Yadav
Community Champion
October 9, 2022

Hi @Thue Madsen  You can do this easily by creating a Project Automation Rule :- 

1. Select Event :- When Issue Created

2. Apply Condition :- Issue Field Condition >> Select the Text Field  >> Condition "is empty"

3. Add Action :- Update Issue Fields >> Select Text Field >> Add Value {{issue.summary}}

This rule will copy value from Summary to Text field when description empty.

 

First option is not feasible without Field Behaviour. This functionality is not available Jira Cloud yet. 

 

Thanks

V.Y

Thue Madsen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2022

Thank you, this works perfectly !

Like # people like this
Vikrant Yadav
Community Champion
October 10, 2022

You’re Welcome 😊

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events