Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Automation: Is it possible to update the Description field via advanced field editing? Edited

When issue A is linked to issue B, I want to grab a custom field from issue A and add it to issue B's description. 

I've read and re-read the advanced field editing documentation but receive an error when following their format. Screen Shot 2021-04-14 at 11.26.48 AM.png

 

Upon further inspection, I've also found this defect in the Automation for Jira backlog which may be why I can't automate appending a string to the description field. 

Has anyone found a workaround for this?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Connor Skiro 

I am unclear how the error you linked to relates to your use case to update the Version's description.  Would you please clarify that part?

From what I know, and at this time, there is no action in automation to update an existing Version's description.  What you could do is make a web request call to the REST API to edit the version.  Here are some references if you want to try that approach:

https://support.atlassian.com/jira-software-cloud/docs/automation-actions/#Automationactions-Sendoutgoingwebrequest

https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/version-updateVersion

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

 

Best regards,

Bill

Bill,

Thank you for taking the time to reply! I should have been more clear in my description. I have created an issue type called 'Release', so rule would be:

When two issues are linked -> Grab Issue A's custom field text and append it to Issue B's description. 

I just updated the description to be more clear.

Thanks, Connor!  That helps quite a bit.

When you want to add to an existing field like Description, just add the contents to the end.  For the Edit action, you would put this in the new value to add the contents of myCustomField after the existing Description.  You shouldn't need advanced edit features with JSON to do this.

{{issue.description}}
{{issue.myCustomField}}

If this doesn't work, please consider posting an image of your complete rule.  That will provide some context for the community to comment.  Thanks!

Like Curt Holley likes this

Bill, 

Thanks for the suggestion, that worked! I just need to add an `else` case where if an issue type is linked to the Release issue type, it will do the same logic. 

Screen Shot 2021-04-14 at 1.01.41 PM.png

 

You've helped me once again, and I greatly appreciate it!

Best, 

Connor

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...

1,249 views 20 27
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