Forums

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

Actual Analysis end Date field to be updated every time the CR moves to BRD Approved status only

Salim Shaikh July 11, 2023

Actual Analysis end Date field to be updated every time the task moves to BRD Approved status only

2 answers

1 vote
Nic Brough -Adaptavist-
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.
July 11, 2023

Yes.

Could you explain what you are actually asking about?

Salim Shaikh July 11, 2023

@Nic Brough -Adaptavist- 

 

In my workflow I have one transition called BRD approved. So once BRD approved status will be updated the actual analysis date field should also be update same date as BRD approved.

Nic Brough -Adaptavist-
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.
July 11, 2023

Ok, you'll need an automation or script to copy the BRD approved value into the date field.

Salim Shaikh July 11, 2023

could you please guide me a step as I am new to JIRA.

Salim Shaikh July 11, 2023

If you can suggest me by using script that will be helpful.

Nic Brough -Adaptavist-
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.
July 11, 2023

What scripting app do you have?

If it is Scriptrunner, the script is a one-liner

issue.set { setCustomFieldValue('analysis field name', issue.getCustomFieldValue ('BRD approval date field') ) }

Salim Shaikh July 11, 2023

Yes, I am using the script runner.

but here BRD approval is not a date field it's status.  So, I have to set the date value in actual analysis end date filed same date as when BRD approval status will be change.

Nic Brough -Adaptavist-
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.
July 11, 2023

Does that mean you want to set the date to "now", when the status changes?

0 votes
Salim Shaikh July 11, 2023

I have tried using the set value in post function on particular transition but no luck.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events