Forums

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

when ticket's get created in jira, then simultaneously comment field should be updated.

Manoj
Contributor
May 2, 2023

Hi, 

Pls suggest/guide.

When ticket get created in jira, comment should be update, can anyone suggest this, i believe this could be done using post function but not sure about the right approach.

 

Thanks!

M

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
November 12, 2012

I think what you're missing is that post-functions don't run during import. The workflow is pretty much bypassed for CSV import.

Whatever you need to run during import, I'm afraid you probably need to run it after import. What you could do is hack the workflow slightly - have a new status of "imported", which has no transitions going into it, and transitions out to where you need. Put your post functions on those transitions from "imported". Do the import and then use bulk-edit to push the new issues through the workflow, and hence post-function.

Nic Brough -Adaptavist-
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.
November 12, 2012

Oops, I forgot - you'll need an extra column in your CSV with the same value for every line of data - map it to the "status" field when importing, so that you don't get "new" issues, you end up with "imported" for the status of all of them.

Suggest an answer

Log in or Sign up to answer