I have a custom field named 'MoA Signed Date', and I also have 2 issuetypes.
Issuetype A and Issuetype B.
Issuetype A will be linked (using Relates to) with Issuetype B.
When submitting status on Issuetype A, it will copy a customfield (MoA Signed Date) to the Issuetype B that only has OPEN status.
How do I do that? Please Help
Any advice will be appreciated
you need to add a Copy Issue Fields (JMWE App) post-function to your transition, with a configuration like this:
Of course, the source and destination fields will be "MoA Signed Date", and you'll have to update the issue type name in the conditional execution script:
{{linkedIssue.fields.issuetype.name == "Issuetype B"}}
Sorry, forgot the second condition on the linked issue's status, so the conditional execution script should be:
{{linkedIssue.fields.issuetype.name == "Issuetype B" and linkedIssue.fields.status.name == "Open"}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @David Fischer ,
as always, thank you for the answer!!
One more question,
If you reverse the method:
When submitting status on Issuetype B, it will copy a customfield (MoA Signed Date) from Issuetype A to the Issuetype B that only has OPEN status.
then I need to configure it like this:
Current issue is Issuetype B
and for the Condition :
{{linkedIssue.fields.issuetype.name == "Issuetype A" and linkedIssue.fields.status.name == "Open"}}
am I right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not quite: you don't need a condition on the status of linkedIssue (Issuetype A). And you don't need a condition on the status of Issuetype B (the issue being transitioned) since you already know the source of the transition (if you created your transition from status Open)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Fischer ,
Well noted, and thank you very much for always helping us, we really appreciate your help!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @David Fischer ,
when I tried the query you gave me a few days ago,
it doesn't seem to work (but, it should work (?))
and when I check in the Post Function configuration, there is no error or warning notification.
and this is the MoA Signed Date of Issuetype A
and this is from Issuetype B (MoA Signed Date didnt changed)
Any suggestion?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you trigger the transition on TBSM-65? Also, is the linked issue of type "MoA Project" and is its status "Open"?
You might want to go to the JMWE Logs page and temporarily set the log level to DEBUG, then trigger the transition and check in the logs that thee post function ran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.