The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Post Function: Add a comment to a linked issue

Thomas
Contributor
September 9, 2014

Hi there,

I am looking for a simple way to add a post function to my workflow which updates all linked issues (if they are part of certain different projects) with a simple comment, maybe adding including some variable such as issue key.

 

Example (closing A-123, linked issue is B-456)

if linked issue is in project B, C, D then add a comment: "The linked issue A-123 has just been resolved with the following resolution: $resolution/fieldvalue"

 

Is this possible? How? smile

Thanks for you help!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 9, 2014
Thomas
Contributor
September 10, 2014

Thanks Jamie that's pretty much spot on! However I seem not to be able to find the right post-function in my JIRA 6.3.4. Any hints? Thanks!

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 10, 2014

You need to install Script Runner... then post-functions -> script functions -> blah.

Thomas
Contributor
September 10, 2014

Sorry my bad! We had this installed before, not sure why it got removed... Now it all makes sense! Thanks for the speedy response!