Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Behaviour script to set the date

Sharath Moolya May 17, 2022

Hello,

 

Can you please assist me , i m looking for a script in behaviour in Jira server

To copy  value from "Start date"  and paste it into "Target date" automatically.

So when Start date updated with date , it automatically captures the date in Target date and whenever any changes made in Start date , that to be captured in Target date

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Florian PEREZ
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.
May 17, 2022

Hey !  

I think you don't wan't to use behaviour for this but listener. 

Here's a script you can get inspiration from my git repository 

 

https://github.com/florian1881/atlassian-custom/blob/main/jira_server/listeners/Copy%20Story%20Points%20to%20Feature%20Points.groovy 

Feel free to adapt to your case.  

Hope this help. 

Gerasimos Kardaras May 20, 2022

@Florian PEREZlistener been created inside scriptrunner menu?

Florian PEREZ
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 8, 2022

Yep =)

TAGS
AUG Leaders

Atlassian Community Events