In request type ,required data retention end data,how to create it please help this.should get like this
Hi @Abilash
Seems, that the Data retention end date shown in your screenshot is not a standard request type field that you can create or configure yourself. It is calculated automatically by Jira Service Management based on the requested decommission date and the selected Data retention period.
If you're trying to achieve the same behavior in your own request type, you'll need to create your own custom fields, for example, a Date Picker) and then use Jira Automation to calculate and populate a third date field.
Could you clarify whether you're trying to recreate this functionality in a custom request type, or are you referring to the built-in Data Retention feature in Jira Service Management?
Hi @Gor Greyan ,thanks for reply
trying to recreate this functionality in a custom request type,
created the all required fields,tried with automation could not find the required automation steps to execute.any solution for step by step execution process of automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Abilash
Thanks for the clarification.
Yes, this can be achieved with Jira Automation, but the exact rule depends on the field types you've created.
Could you let me know
What field type did you use for the data retention period (Select List, Number)?
What are the option values (30 days, 60 days, 90 days)?
Once I know that, I can provide the exact Automation rule and smart values to achieve the same behavior.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey @Gor Greyan ,the data retention period used select list and option values 30,60 and 90days
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Abilash
Thanks for the details.
You can accomplish this with a single Jira Automation rule using IF / ELSE blocks.
The rule would look like this:
Trigger: Field value changed - Data retention period
IF Data retention period = 30
Edit issue → Set Data retention end date to:
{{issue.Requested decommission date.plusDays(30)}}
ELSE IF Data retention period = 60
Edit issue → Set Data retention end date to:
{{issue.Requested decommission date.plusDays(60)}}
ELSE IF Data retention period = 90
Edit issue → Set Data retention end date to:
{{issue.Requested decommission date.plusDays(90)}}
This way, whenever the Data retention period changes, the Data retention end date will be recalculated automatically.
Let me know if you have any issues regarding automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Gor Greyan ,Thanks for reply.configured like this its working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Abilash
Thanks for the reply.
If it worked, kindly ask you to accept the answer for future readers.
Happy to help you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.