#102 add comment to downstream issue when state transition
Closed: Fixed by sidpremkumar. Opened by dustymabe.

I'm using updates = ['description', {'transition': 'Done'}], which means that cards get closed in JIRA when they get closed in the upstream (side note, it took me a while to figure out how that worked so maybe we could enhance the docs around that option).

I think the only enhancement I would add is to add a comment to the downstream card that says

  • "The Upstream issue at link was closed. Transitioning this card to $STATE."
    • for {'transition': STATE}
  • "The Upstream issue at link was closed."
    • for {'transition': True}

Can we add that feature?


Let me know what you think of this:
https://pagure.io/sync-to-jira/pull-request/104

I did not implement the 2nd part ("The Upstream issue at link was closed.") as the issue status is at the top of the description if {'transition': True} so I thought it was redundant. Let me know what you think?

I did not implement the 2nd part

That's fine.

PR has been merged. Closing this issue.

Metadata Update from @sidpremkumar:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata