Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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 Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

134 views 1 2
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