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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need help with automation on JIRA

Hi,

I am trying to setup automation on Jira between two issue types (Epic and Task). the automation is basically that when epic is transitioned to another state, task follows. The roadblock i have hit in this is that some of the transitions in workflow have validators that check for certain fields to be filled in (such as comment, target date) etc using transitioning screens.

Now the automation fails at these transitioning's because i cannot use automation to copy over these fields onto transitioning screen(from epic). Is there any other way to work around this? please let me know  

1 answer

1 accepted

2 votes
Answer accepted

Hi @azfar siddiqui 

If you have the data to set the Task's fields (possible from the Epic) prior to the transition you can set them with the automation.

Please post an image of your rule and the audit log from the rule execution if you are still having difficulties.  That will help the community provide you ideas to try.

Best regards,

Bill

Hi Bill,

Thanks for the reply, we will have the option to fill out those fields from Epic as it will follow the same workflow but i dont see a way of copying that data from automation. 

 

Attaching the screenshots of automation rule, and audit log.

 

jira.PNG

Audit log

jira 2.PNG

Thanks for that information.  

After your branch starts, and before the Transition, you can edit the Task and choose to copy fields from the Trigger Issue.

To do so, after you select a field to edit, select the ... menu at the right, and then Copy From, and Current Issue (which is the triggering issue).

Hi Bill,

Thanks for the reply,  i cannot find "comment field" that i can use to copy from. That is one of the fields required to transition to next step. any way around this?

 

Thanks for your help with this matter.jira 4.PNG

Commenting on an issue is a separate action from edit.  Perhaps try to add that Comment action inside of the branch, and you may add the value from the trigger issue's comment.  Unfortunately this method will not preserve the original author, but you could add that to the comment.

Comment from {{triggerIssue.comment.last.author.displayName}} 
Created: {{triggerIssue.comment.last.created.jiraDate}}
{{triggerIssue.comment.last.body}}
Like azfar siddiqui likes this

Bingo! thanks Bill that worked like charm

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

973 views 17 24
Read article

Community Events

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

Events near you