Forums

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

How do I add a customer field value?

Eric.LA_Chen August 31, 2018

Hi everyone,

I want to create two customer field "effect day" & "expired day"

and "expired day" = "effect day" + 90days.

Can it auto fill in the "expired day" when I create the ticket?

I knew which configuration in workflow -> funciton -> update customer field...

But I do not know what value I should fill it...

2 answers

3 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.
August 31, 2018

Hello,

You can not do it out of the box. You would need a plugin for it. 

For example you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could create a post function with a code like this:

#{expired day} =#{effect day} + "90d"; 

 You can read more about post functions here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows#Customizingworkflows-Forpostfunctions:

Eric.LA_Chen August 31, 2018

Thanks Alexey,

I will read it.

0 votes
Grigory Salnikov
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.
August 31, 2018

Hi, @Eric.LA_Chen!

Another way is to use this add-on:

Jira Misc Custom Fields

You can easily configure so-called "Calculated Date/Time Field".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events