Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,116
Community Members
 
Community Events
184
Community Groups

Does not generate the issue automatic in a post function with Jira Workflow Toolbox?

Does not generate the issue automatic in a post function with Jira Workflow Toolbox?

after changing the issue transition when I check the log for JWT I'm getting Issue type not found. what I am doing here I am just passing issue type in custom field.

Can some one guide me how I can add issue type from custom field. Please help me to resolve this issue.

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 24, 2023

Hi @shahjad ahemad 

It would be great if you could post an image of your JWT post function.

Hi @Alex Koxaras _Relational_ 

Thanks for quick response

PFA of JWT post function.  here for issue type I am passing value using custom field where value is "Task"

image_67140609 (1).jpg

Hello @shahjad ahemad and @Alex Koxaras _Relational_,

I am part of the Support Team of Decadis and I will gladly help you with this problem.

In JWT for Jira Cloud it is necessary to use the ID of the issue types instead of the issue type names in order to set the Issue type field in the Create issue post function.

You can retrieve the issue type ID of the transitioned issue with the following field code in General mode:

%{issue.issueType.id}

If you need to do it differently, please, let us know what you intend to do. We will gladly help you.

If you need more information you can always visit our documentation or contact us via our Support Service Desk.

Best regards,

Vicente

Thanks @Vicente Domínguez _Decadis AG_  for your response we want to achieve something different. for example we are having custom fieldname "test" which is having list values matching to issue type. through "test" field how we can get the id of issue type.

Because we want to have issue created in different project and user must choose the issue type. this automation rules will only applicable for issue type "Epic". Please help me to figure out the solution I have tried many solutions but no success. I am not able to get the issue id from different custom field.

Hello @shahjad ahemad

The parser function getMatchingValue() can be used for this purpose. It will select an element of a list based on the position of a value in a previous list. This value is indicated usually with the field code of a custom field.

For instance, when the Test custom field contains the option Bug, the ID of the issue type Bug will be matched in the following expression. Please, note that both elements are in the second position of the respective lists.

%{getMatchingValue(%{issue.cfnnnnn}, ["Epic", "Bug", "Story"],["10000", "10010", "10007"])}

This expression could be adapted to match all of the issue types of your choice with their IDs in the Issue type field of the Create issue post function.

Please, let us know if you need further assistance.

Best regards,

Vicente

Like shahjad ahemad likes this

Hello @Vicente Domínguez _Decadis AG_ 

The above solution worked for now I'm able to fetch the issue type id. Thank you so much help..

Regards

Shahjad

Suggest an answer

Log in or Sign up to answer