The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How do we split the issue key to get just the digits?

Kalpana Ramesh
July 31, 2016

My task is to update a custom field - 500 + issuekey(only the digits). 

I am able to do it using Copy parsed field post function but it gives the entire issue key. 

How can i go forward?

 

Thanks!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Sachin Dhamale
Contributor
July 31, 2016

You have to write the groovy script on post function which will take the only digit from the issue key and update custom field

Kalpana Ramesh
August 1, 2016

Could you help me with how to proceed with it? I tried searching for a clue but i don't have any leads.

Steven F Behnke
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.
August 1, 2016

Since you're using Workflow Toolbox, perhaps you should reach out to Fidel? He offers great support.

The documentation is quite rich too, you really should give it a read – https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/Full%20List%20of%20Features