Forums

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

Copy Fields fromlinked issue with JWT

Mesut
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2020

Hello,

i am using Jira V7.13.11 with Jira Workflow Toolbox V2.7.0. Other Plugins we are not allowed to use!

i have a new created issue that has is linked with the blocked by link type with an other issue.

Now i want to read fields from the linked issue, when the new issue is c reated. There for i use the post function  Read field from issues returned by JQL Query or Issue List on the create Transition of the workflow. I have now a problem to set a correct issue Selection for the field transfer.

I tried the issue selection mode JQL Query. There i can configure an statement, that would work! But there i can not get the issues, that are linked as block to the new created issue.

For that i tried the issue selection mode Issue List. I tried different statements with transitivelyLinkedIssues and linkedIssues, but i was not able to copy values like with the JQL Query. The post action does nothing.

Could anybody help me to set the correct statement to get the issue, that is blocking the new created issue to copy values from or maybe an other method to do the job (not an other plugin)?

1 answer

1 accepted

2 votes
Answer accepted
Jona Ittermann [Decadis AG]
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 Leaders.
April 3, 2020

Hi @Mesut

since you want to read field values from a linked issue, you might want to use our post function Read fields from linked issues or sub-tasks. In your case you then only have to select the link type you want to get the issue by (in your case "is blocked by"). 

The other thing you might want to check is that this post function is positioned after the "Create issue originally" post function.

So the final result of your create transition could look something like this:

2020-04-03 11_16_21-Transition_ Create - Your Company Jira.png

 

Please let me know, if this configuration works for you and if you need further help there ;)

 

Cheers

Jona with the xApps team

Mesut
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2020

Thanks for your fast answer. Meanwhile I found my Problem.
The issue linking was done after the issue creation. I saw this in the issue history.

So i think in the post function, when i tried to get the linked issues, there were no linked issues yet.

I tried my configuration with an other status transition, there it worked flawless.

Jona Ittermann [Decadis AG]
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 Leaders.
April 3, 2020

HI @Mesut

you're really welcome!

Great to hear that it is working now!

 

If you should feel uncertain about some features regarding JWT, you can always reach out to us - also using our Service Desk.

 

Cheers

Jona

Suggest an answer

Log in or Sign up to answer