Could you please help me on how to start using Script runner for our JIRA issue automation?
I am currently evaluating Script Runner to do automation to set a value in the JIRA issue based on a condition in another custom field.
The following is one of the scenarios:
Custom field#1: Option list single selection (A, B, or C)
Custom field#2: Date time stamp
We would like to automate using Script Runner to do the following:
1. When the user edits Custome field#1 to the value B or C, the user requires to enter a timestamp in Custom field#2.
2. When the user edit Custom field#1 to the value B or C, automatically set the current time in Custom field#2.
I am trying to find some documentation or an example to do the above from the Script Runner documentation but unsuccessful. Could you please confirm if Script runner will be able to do the intended usage functionality?
We are using JIRA Software Server (not Cloud version)
I use Jira Cloud at the moment. However, it seems that smart values apply to Jira servers as well.
You might be able to create an automation rule that is executed when the specific values are selected in the custom field#1. Maybe the automation can add timestamp automatically to the custom field#2.
Here is some documentation
I hope this helps and happy new year :)
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events