Forums

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

Strange behavior of function Copy Value From Other Field

Jiri Bures
April 27, 2020

We are using Jira Cloud and Service Desk.

I want to store Description to custom field Original Description when a new issue is created 

I used Post Function Copy Value From Other Field

2020-04-27_18-20-29.jpg

But the result was like that:

Some Text --> Optional[Some Text]

If I tried the same Post Function with Source Field Summary, everything was OK.

Any suggestions where the problem is?

 

1 answer

1 accepted

1 vote
Answer accepted
MJ
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2013

You can use different workflows for different issue types within the same project. Details on workflow schemes can be found here, configuring workflows them self can be found here. In order to link issues to eachother and keep there fields synced between them, I would suggest you use sub-tasks. From the parent issue you can create a sub-task, which will be associated with a separate workflow (if you have configured it this way). Through post functions you can copy/sync field values between the parent and child issues. Details on sub-tasks can be found here and here.

Jim Downing
February 24, 2013

Hi Mick, thanks for the answer.

One of the reasons I wanted to have them in different projects was that I'd like different permissions for the creation of defect reports and direct creation of dev tasks. As far as I can see, an issue can't have a parent in a different project?


If I were able to import workflows using XML in OnDemand that would help - then I could have my defects workflow 'inherit' from my dev workflow, and use source control to merge changes to my dev workflow into the defects project workflow. I can see that this isn't an option, but why not?

MJ
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2013

Correct, parent and child issues have to be within the same project. As for the second section of your comment, this is at the moment not possible. You could use issue level security schemes to shield off issues from being accessed by specific users, which might create the same situation for you as you are looking for within the same project opposed to working with separate projects. Importing from XML is not possible in OnDemand, you can however look at the import from marketplace option to see if there are any workflows beneficial to you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events