In this scenario, I have a Task (DRAFT-01) and I want to reuse the description from this task when a new User Story is created.
I created a variable {{DraftText}} to fetch the issue description {{issue.description}}
Both Task and new user stories are under the same project, however they're no related in any other way.
Would this be the right approach for this scenario?
First thing: what do you want to happen to the existing description in the created issue: add to it, replace it, something else?
Next, this will not work as your rule is shown, because...
As you are using Data Center version, you may instead use the Lookup Issues action with your JQL. That will load the data for the "draft text" issue, for use later with:
{{lookupIssues.description}}
Some suggested changes to your rule could be:
Kind regards,
Bill
Thanks Bill !
This worked perfectly, it added to the description in the created issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome; I am glad to learn that helped!
Just to confirm, did you want to add to, or replace the description? If it was "add to", your field edit could look like this to add the draft text after the original value:
{{issue.description}}
{{lookupIssues.description}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, I wanted to add to the description so
{{issue.description}}
keeps the original text from Created Issue and its not overwritten by
{{lookupIssues.description}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then if you include both smart values as I show above, that will add the draft text afterwards. Please try that and let me know if it works as you expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.