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.
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?
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://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/version-updateVersion
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You've helped me once again, and I greatly appreciate it!
Best,
Connor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.