Forums

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

Copy value to Custom field

Yakov Melman December 29, 2022

Hello,

We'd like to add a "Due date" field and copy the "Sprint End" value to this field once we move a ticket in the Sprint. How can we do that? Thank you in advance.

2 answers

0 votes
Jack Brickey
Community Champion
December 29, 2022

Hi @Yakov Melman , First off are you wanting to use the existing due date field or create a new one? If the latter, please be sure to use something other than "due date" since that is already a system field. Either way you should use automation to copy the date field. Below is what I think should work however I have not specifically tested this.

  • trigger - sprint started
  • condition - optional but might be desired
  • action - edit issue to set 'Due Date' to {{sprint.endDate}}  

if this is what you are looking for give it a go and let me know if it works.

Yakov Melman December 30, 2022

Hi @Jack Brickey 

I can see the following error when I'm trying to publish the rule:

Error

  • The rule has been configured with components that require issues to be provided by the trigger. To run these components you must add a branch for this sprint or JQL. The following components require issues: Edit issue

What am I doing wrong?

Thank you in advance.

Jack Brickey
Community Champion
December 30, 2022

Like the error indicates you should use a "Branch". Actually the link to the post that Walter provided below illustrates this. Give that a try and if you still have issues let me know. I created the following "untested" example for you. You probably should further qualify the JQL to restrict to your project to ensure you are not taking action on issues that should not be.

4E6C7E59-1B72-41C6-9A42-42F68B9AD6B0.jpeg94A770D7-50B3-460F-8A6F-E7FEC1D45FE9.jpeg 

0 votes
Walter Buggenhout
Community Champion
December 29, 2022

Hi @Yakov Melman,

Have a look at this related question, where Bill shares the smart values you can use in automation to set the right values: {{sprint.endDate}} 

Hope this helps!  

Jack Brickey
Community Champion
December 29, 2022

👍

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events