How to implement field autocomplete depending on status transition?

alina_b February 16, 2021

 When an issue passes to "deployed" status I need the field "Due date" automatically be changed to value of the date, when the issue passed in "deployed" status. How can I do it? Can I use ScriptRunner?

1 answer

1 accepted

0 votes
Answer accepted
Winnie _Adaptavist_ February 22, 2021

Hey Alina,

You may set up a custom scripted field with a script that fetches the transition date from issue's change history.

There is a sample provided here: Date of First Transition.

Since your issue status is "Deployed", you can change the example action name to exactly that e.g.

image.png

The outcome is as below:

image.png

I hope that this helps!

If this response has answered your question, please do mark it as Accepted to make it easier for other users to discover potential solutions to their questions.

alina_b February 24, 2021

Winnie, thank you very much!

alina_b March 1, 2021

Winnie, how can I modify this script to use it for one separate project (not for all of them)?

Suggest an answer

Log in or Sign up to answer