The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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)?